diff options
author | Saku Ytti <saku@ytti.fi> | 2016-07-29 13:17:40 +0300 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2016-07-29 13:17:40 +0300 |
commit | f54bfa0c97a8a4bbe4107290a711cefdd8912368 (patch) | |
tree | 8e09980a94a664c80ecf35387f93796fd5397254 /lib | |
parent | 3768da1c639e4ca64084e2a3e828622b7af8a9c8 (diff) |
expand log path
Diffstat (limited to 'lib')
-rw-r--r-- | lib/oxidized.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |