Skip to content

Instantly share code, notes, and snippets.

@rocLv
Created March 17, 2017 05:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rocLv/f89c327b6f960c7fefa4dd183d7600e5 to your computer and use it in GitHub Desktop.
Save rocLv/f89c327b6f960c7fefa4dd183d7600e5 to your computer and use it in GitHub Desktop.
You can specify an explicit logger in your config;
my_logger = ActiveSupport::BufferedLogger.new(path)
config.logger = my_logger
This will replace Rails.logger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment