diff options
author | Christoph Helma <helma@in-silico.ch> | 2010-08-06 13:33:40 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2010-08-06 13:33:40 +0200 |
commit | a161416cf82c2365094b041981a7a495eb268911 (patch) | |
tree | b9df08f9b30ef9a0093f5dbd50fa22fc1c28b571 /lib | |
parent | b92d78620f7e9ed3a35730f867019723f51c4462 (diff) |
log rotation disabled
Diffstat (limited to 'lib')
-rw-r--r-- | lib/environment.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/environment.rb b/lib/environment.rb index 917011d..1551448 100644 --- a/lib/environment.rb +++ b/lib/environment.rb @@ -45,7 +45,8 @@ end load File.join config_dir,"mail.rb" if File.exists?(File.join config_dir,"mail.rb") logfile = "#{LOG_DIR}/#{ENV["RACK_ENV"]}.log" -LOGGER = MyLogger.new(logfile,'daily') # daily rotation +#LOGGER = MyLogger.new(logfile,'daily') # daily rotation +LOGGER = MyLogger.new(logfile) # no rotation LOGGER.formatter = Logger::Formatter.new #this is neccessary to restore the formating in case active-record is loaded if @@config[:logger] and @@config[:logger] == "debug" LOGGER.level = Logger::DEBUG |