We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84007a9 commit c5a631fCopy full SHA for c5a631f
1 file changed
datareservoirio/_logging.py
@@ -33,8 +33,9 @@ def get_exceptions_logger() -> logging.Logger:
33
if os.getenv(ENV_VAR_ENABLE_APP_INSIGHTS) is not None:
34
enable_app_insights = os.environ[ENV_VAR_ENABLE_APP_INSIGHTS].lower()
35
if enable_app_insights == "true" or enable_app_insights == "1":
36
- _ensure_azure_monitor_configured(connection_string=environment._application_insight_connectionstring,
37
- logger_name=__name__ + "_exception_appinsight")
+ _ensure_azure_monitor_configured(
+ connection_string=environment._application_insight_connectionstring,
38
+ logger_name=__name__ + "_exception_appinsight")
39
exceptions_logger.setLevel("WARNING")
40
41
return exceptions_logger
0 commit comments