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
Before v2.2.0, `Raven.configuration.logger` was nil if there was no
logger configured; now it's always an instance of `Raven::Logger`. This
means that the `||=` assignment in the railtie no longer has any effect.
If we unconditionally set the logger in a `before_initialize` hook, apps
will still be able to configure their own logger in an initializer, but
the Rails logger will be used by default again if they don't.
There's an existing test which covers this behaviour, but the logger was
being set to false before it ran, which doesn't accurately reflect the
default configuration any more. Instead of trying to reset the logger
before the test, we can temporarily swap in a new configuration object.
0 commit comments