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
Hello,
when disabling tracing in the instrumentation.yaml configuration with monolog extension enabled the Instrumentation\Tracing\Instrumentation\LogHandler\TracingHandler still gets prepended to monolog.handlers.
This behaviour throws an error: The service "monolog.logger" has a dependency on a non-existent service Istrumentation\Tracing\Instrumentation\LogHandler\TracingHandler".
Error is thrown because with tracing.enabled=false the extension is not loading the tracing.php which contains the TracingHandler service.
Suggestion is to check wether the tracing is enabled, and if so, prepend the monolog extension.
The text was updated successfully, but these errors were encountered:
Hello,
when disabling tracing in the
instrumentation.yaml
configuration withmonolog
extension enabled theInstrumentation\Tracing\Instrumentation\LogHandler\TracingHandler
still gets prepended tomonolog.handlers
.This behaviour throws an error:
The service "monolog.logger" has a dependency on a non-existent service Istrumentation\Tracing\Instrumentation\LogHandler\TracingHandler".
Error is thrown because with
tracing.enabled=false
the extension is not loading thetracing.php
which contains theTracingHandler
service.Suggestion is to check wether the tracing is enabled, and if so, prepend the monolog extension.
The text was updated successfully, but these errors were encountered: