summaryrefslogtreecommitdiff
path: root/report/environment.rb
diff options
context:
space:
mode:
authorMartin Gütlein <martin.guetlein@gmail.com>2009-11-24 10:26:17 +0100
committerMartin Gütlein <martin.guetlein@gmail.com>2009-11-24 10:26:17 +0100
commitdb65b03dc761f7788dad5bdbfd9e0d7e8376f6cb (patch)
tree108a823cdd26b0f47360d4a3f45502e52735150c /report/environment.rb
parent199a350dfda66a918bd52b59e7f511a9cc19fd63 (diff)
add prediction_feature param
Diffstat (limited to 'report/environment.rb')
-rw-r--r--report/environment.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/report/environment.rb b/report/environment.rb
index 6a449b9..cbed3de 100644
--- a/report/environment.rb
+++ b/report/environment.rb
@@ -27,7 +27,9 @@ load "report/external/mimeparse.rb"
load "lib/prediction_util.rb"
-LOGGER = Logger.new(STDOUT)
-LOGGER.datetime_format = "%Y-%m-%d %H:%M:%S "
+unless(defined? LOGGER)
+ LOGGER = Logger.new(STDOUT)
+ LOGGER.datetime_format = "%Y-%m-%d %H:%M:%S "
+end