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
Post a Comment