Skip to content

Commit

Permalink
if @log_event_router exists, log is already enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
ganmacs committed Oct 25, 2019
1 parent bd02bea commit d44ce3b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/fluent/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ def run
start

if @log_event_router
$log.enable_event(true)
@log_emit_thread = Thread.new(&method(:log_event_loop))
@log_emit_thread.abort_on_exception = true
end
Expand Down

0 comments on commit d44ce3b

Please sign in to comment.