diff options
Diffstat (limited to 'lib/environment.rb')
-rw-r--r-- | lib/environment.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/environment.rb b/lib/environment.rb index abc7287..312eec4 100644 --- a/lib/environment.rb +++ b/lib/environment.rb @@ -107,6 +107,7 @@ end logfile = "#{LOG_DIR}/#{ENV["RACK_ENV"]}.log" LOGGER = MyLogger.new(logfile,'daily') # daily 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 else |