From f54bfa0c97a8a4bbe4107290a711cefdd8912368 Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Fri, 29 Jul 2016 13:17:40 +0300 Subject: expand log path --- lib/oxidized.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/oxidized.rb b/lib/oxidized.rb index f40daf9..ce48f10 100644 --- a/lib/oxidized.rb +++ b/lib/oxidized.rb @@ -43,7 +43,7 @@ module Oxidized else require 'logger' if config.has_key?('log') - Logger.new(config.log) + Logger.new(File.expand_path(config.log)) else Logger.new(STDERR) end -- cgit v1.2.1