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
For some reason it doesn't log anything on our production environment but it works fine on development environment. These are the lines that I added on both /config/environment/production.rb and /config/environment/development.rb:
config.rails_semantic_logger.add_file_appender = false # disable logging to a file
config.after_initialize do
config.semantic_logger.add_appender(appender: :syslog, formatter: :json)
end
It logs the active record queries in our rake tasks though. Any ideas on what I'm doing wrong?
For some reason it doesn't log anything on our production environment but it works fine on development environment. These are the lines that I added on both
/config/environment/production.rb
and/config/environment/development.rb
:It logs the active record queries in our rake tasks though. Any ideas on what I'm doing wrong?
Rails 4.2.6
ruby 2.2.5p319 (2016-04-26 revision 54774) [x86_64-linux]
rails_semantic_logger (3.4.1)
semantic_logger (~> 3.3)
The text was updated successfully, but these errors were encountered: