File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
azure-monitor-opentelemetry-distro/azure/monitor/opentelemetry/distro/_diagnostics Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1818 ([ #217 ] ( https://github.com/microsoft/ApplicationInsights-Python/pull/217 ) )
1919- Add Logging configuration to Distro API
2020 ([ #218 ] ( https://github.com/microsoft/ApplicationInsights-Python/pull/218 ) )
21+ - Removing diagnostic logging from its module's logger. Preventing duplicate handlers.
22+ ([ #225 ] ( https://github.com/microsoft/ApplicationInsights-Python/pull/225 ) )
2123
2224## [ 1.0.0b8] ( https://github.com/microsoft/ApplicationInsights-Python/releases/tag/v1.0.0b8 ) - 2022-09-26
2325
Original file line number Diff line number Diff line change @@ -75,7 +75,8 @@ def enable(logger: logging.Logger):
7575 if AzureDiagnosticLogging ._initialized :
7676 if AzureDiagnosticLogging ._f_handler in logger .handlers :
7777 _logger .info (
78- "Azure diagnostics already enabled for %s logger." % logger .name
78+ "Azure diagnostics already enabled for %s logger."
79+ % logger .name
7980 )
8081 else :
8182 logger .addHandler (AzureDiagnosticLogging ._f_handler )
You can’t perform that action at this time.
0 commit comments