Skip to content
This repository has been archived by the owner on Mar 10, 2023. It is now read-only.
/ logster-example Public archive

Example app demonstrating Logster bug in Rails 5.0

Notifications You must be signed in to change notification settings

alassek/logster-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logster + Silent Assets bug

Steps to reproduce:

  • run bundle install, then rails s from command line
  • visit http://localhost:3000 in a browser
  • you should see a NoMethodError exception for Logster::Logger#silence

This problem is triggered by config.assets.quiet = true in the application config.

I can workaround this bug by adding this to config/initializers/logster.rb:

Logster::Logger.include LoggerSilence

However this just causes it to fail with a different NoMethodError: Logster::Logger#local_level=

About

Example app demonstrating Logster bug in Rails 5.0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published