summaryrefslogtreecommitdiff
path: root/lib/oxidized/config
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2014-02-27 13:39:04 +0200
committerSaku Ytti <saku@ytti.fi>2014-02-27 13:39:04 +0200
commit044477406fafcc8ad5b371027665a675e95a6210 (patch)
treeafec336787a319f1257f72f35955c43e5517727b /lib/oxidized/config
parent49ac63e8609d265986506fc5589b3fed83bc71a4 (diff)
Switch to syslog instead of file
1.9.3 does not have Syslog::Logger so in 1.9.3 keep on logging to files
Diffstat (limited to 'lib/oxidized/config')
-rw-r--r--lib/oxidized/config/core.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/config/core.rb b/lib/oxidized/config/core.rb
index ec08dab..59ada3a 100644
--- a/lib/oxidized/config/core.rb
+++ b/lib/oxidized/config/core.rb
@@ -28,6 +28,6 @@ module Oxidized
CFG = Config.new
CFG.defaults
CFG.load
- Log.file = CFG.log if CFG.log
Log.level = Logger::INFO unless CFG.debug
+ Log.file = CFG.log if CFG.log
end