summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/environment.rb3
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