File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lib/rails_semantic_logger Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ class Engine < ::Rails::Engine
127127 end
128128
129129 # Replace the Bugsnag logger
130- Bugsnag . configure { |config | config . logger = SemanticLogger [ Bugsnag ] } if defined? ( Bugsnag )
130+ Bugsnag . configure ( false ) { |config | config . logger = SemanticLogger [ Bugsnag ] } if defined? ( Bugsnag )
131131
132132 # Set the IOStreams PGP logger
133133 IOStreams ::Pgp . logger = SemanticLogger [ "IOStreams::Pgp" ] if defined? ( IOStreams )
@@ -138,7 +138,7 @@ class Engine < ::Rails::Engine
138138 config = Rails . application . config
139139
140140 # Replace the Bugsnag logger
141- Bugsnag . configure { |bugsnag_config | bugsnag_config . logger = SemanticLogger [ Bugsnag ] } if defined? ( Bugsnag )
141+ Bugsnag . configure ( false ) { |bugsnag_config | bugsnag_config . logger = SemanticLogger [ Bugsnag ] } if defined? ( Bugsnag )
142142
143143 # Rails Patches
144144 require ( "rails_semantic_logger/extensions/action_cable/tagged_logger_proxy" ) if defined? ( ::ActionCable )
You can’t perform that action at this time.
0 commit comments