mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
- s/settings.logfile/@logfile/
This commit is contained in:
parent
71903bdc22
commit
52e65939cb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue