From 68e056061648be393dc785419fc066ec3d719e58 Mon Sep 17 00:00:00 2001 From: Azul Date: Mon, 23 Sep 2013 19:56:03 +0200 Subject: Revert "default to syslog in production - #3886" This reverts commit 073dc636ffa2da07ee7a719c6166a3ca1b593fb3. Conflicts: config/environments/production.rb --- config/environments/production.rb | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'config/environments') diff --git a/config/environments/production.rb b/config/environments/production.rb index e34a4c9..32b4558 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -33,13 +33,11 @@ LeapWeb::Application.configure do # See everything in the log (default is :info) # config.log_level = :debug - # Use syslog if no file has been specified - if APP_CONFIG[:logfile].blank? - require 'syslog/logger' - # Prepend all log lines with the following tags - config.log_tags = [ :leap, :webapp ] - config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new) - end + # Prepend all log lines with the following tags + # config.log_tags = [ :subdomain, :uuid ] + + # Use a different logger for distributed setups + # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new) # Use a different cache store in production # config.cache_store = :mem_cache_store -- cgit v1.2.3