- s/settings.logfile/@logfile/

This commit is contained in:
Jordan Sissel 2011-03-21 09:42:38 -07:00
parent 71903bdc22
commit 52e65939cb

View file

@ -189,7 +189,7 @@ class LogStash::Agent
end
if @logfile
logfile = File.open(settings.logfile, "w")
logfile = File.open(@logfile, "w")
STDOUT.reopen(logfile)
STDERR.reopen(logfile)
elsif @daemonize