-
Notifications
You must be signed in to change notification settings - Fork 2
AzureSDKEventLog
Tore Nestenius edited this page Dec 24, 2024
·
1 revision
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.
- 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);
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.