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
127
127
end
128
128
129
129
# 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 )
131
131
132
132
# Set the IOStreams PGP logger
133
133
IOStreams ::Pgp . logger = SemanticLogger [ "IOStreams::Pgp" ] if defined? ( IOStreams )
@@ -138,7 +138,7 @@ class Engine < ::Rails::Engine
138
138
config = Rails . application . config
139
139
140
140
# 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 )
142
142
143
143
# Rails Patches
144
144
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