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
Logging early in the Rails startup sequence (e.g. in application.rb or in one of the files under config/environments) can fail due to the logger not being initialized. In this situation the workaround is to wrap the call to the logger in a config.after_initialize block:
It would be nice to have a convenience object or set of convenience methods that would DRY this and keep the complexity out of the config/initialization files.
The text was updated successfully, but these errors were encountered:
Logging early in the Rails startup sequence (e.g. in
application.rb
or in one of the files underconfig/environments
) can fail due to the logger not being initialized. In this situation the workaround is to wrap the call to the logger in aconfig.after_initialize
block:It would be nice to have a convenience object or set of convenience methods that would DRY this and keep the complexity out of the config/initialization files.
The text was updated successfully, but these errors were encountered: