From 044477406fafcc8ad5b371027665a675e95a6210 Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Thu, 27 Feb 2014 13:39:04 +0200 Subject: Switch to syslog instead of file 1.9.3 does not have Syslog::Logger so in 1.9.3 keep on logging to files --- lib/oxidized/config/core.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/oxidized/config') 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 -- cgit v1.2.1