diff options
author | Francis Irving <francis@mysociety.org> | 2010-09-14 00:14:44 +0100 |
---|---|---|
committer | Francis Irving <francis@mysociety.org> | 2010-09-14 00:14:44 +0100 |
commit | c670777d5e596e277ac21a70823ac2e8f7750ab1 (patch) | |
tree | 10f813c918d620bd860a8c267e11b92a1a88aec7 | |
parent | f43f5b0c89be58d3f03cbee0626928c1234d64bc (diff) |
Better instructions on logging in production
-rw-r--r-- | config/environment.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/environment.rb b/config/environment.rb index 0ee753fc1..5b632471e 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -46,7 +46,9 @@ Rails::Initializer.run do |config| # Force all environments to use the same logger level # (by default production uses :info, the others :debug) + # TEMP: uncomment this to turn on logging in production environments # config.log_level = :debug + # # Your secret key for verifying cookie session data integrity. # If you change this key, all old sessions will become invalid! @@ -110,6 +112,4 @@ require 'willpaginate_hack.rb' require 'sendmail_return_path.rb' require 'tnef.rb' -# XXX temp debug for SQL logging production sites -#ActiveRecord::Base.logger = Logger.new(STDOUT) |