You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently in autoinstrumentation, the default LoggingHandlerconfiguration is defaulted to NOTSET, which effectively does not filter messages based on level.
For format configuration, this pr enables the LoggingHandler to respect configured formats for the logging handler.
With MANUAL instrumentation, users can configure logging like below:
however with autoinstrumentation sometimes this is not possible.
Describe the solution you'd like
We should have a way to configure logging level and format using autoinstrumentation (most likely with env vars), similarly to how opentelemetry-instrumetation-logging does.
Describe alternatives you've considered
No response
Additional Context
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem?
Currently in autoinstrumentation, the default
LoggingHandler
configuration is defaulted to NOTSET, which effectively does not filter messages based on level.For format configuration, this pr enables the
LoggingHandler
to respect configured formats for the logging handler.With MANUAL instrumentation, users can configure logging like below:
however with autoinstrumentation sometimes this is not possible.
Describe the solution you'd like
We should have a way to configure logging level and format using autoinstrumentation (most likely with env vars), similarly to how opentelemetry-instrumetation-logging does.
Describe alternatives you've considered
No response
Additional Context
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: