Rails.logger is not overriden -


i have 2 envs: test, , production in both have following under enviroments/*.rb:

config.logger = logstashlogger.new(port: 5228) 

problem , on test env have rails.logger pointing logger , working, , in production env, rails.logger still stdout. looked , searched override, found nothing. tried put on config/enviroment.rb, without luck. production insists on being stdout...

is related nginx/passenger in way? please assist

tnx!

it rails_12factor in gemfile (heroku's gem) includes rails_stdout_logging !!!!!

i removed , solved problem.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -