Skip to content

AzureSDKEventLog

Tore Nestenius edited this page Dec 24, 2024 · 1 revision

Azure SDK Event Log Viewer

Overview

The Azure SDK Event Log Viewer is a feature that displays internal events emitted by the Azure SDK. These events provide visibility into the internal operations of Azure SDK components, helping developers debug and troubleshoot issues related to token acquisition, requests, and other SDK processes.

How It Works

  • The AzureSDKEventLogViewer is based on the events collected by an instance of AzureEventSourceListener.
  • All internal Azure SDK events are logged by using the following setup in the Program class:
    var eventListener = new AzureEventSourceListener((evnt, message) =>
    {
        AzureEventLogger.AddEventToLog(evnt, message);
    },
    level: EventLevel.Verbose);

Warning ⚠️

Logs may contain sensitive information such as tokens, client secrets, or other security-critical data.

  • Do not share logs in insecure environments.
  • Ensure logs are properly sanitized before sharing.
  • Restrict access to logs to trusted individuals only.

Resources

Clone this wiki locally