mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 09:42:02 +08:00
FIX: Set override_level
on Logster loggers (#27519)
A followup to f595d599dd
This commit is contained in:
parent
6ac7d02a8f
commit
c1b0488c54
|
@ -17,7 +17,7 @@ module DiscourseRackQuietAssetsLogger
|
|||
end
|
||||
end
|
||||
|
||||
super(env).tap { Rails.logger.override_level = nil if override }
|
||||
super(env).tap { Logster.logger.override_level = nil if override }
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ class SilenceLogger < Rails::Rack::Logger
|
|||
super(env)
|
||||
end
|
||||
ensure
|
||||
Rails.logger.override_level = nil if override
|
||||
Logster.logger.override_level = nil if override
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user