summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2016-07-29 13:17:40 +0300
committerSaku Ytti <saku@ytti.fi>2016-07-29 13:17:40 +0300
commitf54bfa0c97a8a4bbe4107290a711cefdd8912368 (patch)
tree8e09980a94a664c80ecf35387f93796fd5397254 /lib
parent3768da1c639e4ca64084e2a3e828622b7af8a9c8 (diff)
expand log path
Diffstat (limited to 'lib')
-rw-r--r--lib/oxidized.rb2
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