From d44ce3ba0ab73b569993685c637f1ad95e9085dd Mon Sep 17 00:00:00 2001 From: Yuta Iwama Date: Fri, 25 Oct 2019 12:02:46 +0900 Subject: [PATCH] if `@log_event_router` exists, log is already enabled https://github.com/fluent/fluentd/blob/fcd467c722c491919c7044c772e9e49ead3ef787/lib/fluent/engine.rb#L151 Signed-off-by: Yuta Iwama --- lib/fluent/engine.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/fluent/engine.rb b/lib/fluent/engine.rb index b9af3e67e9..5ffa24d358 100644 --- a/lib/fluent/engine.rb +++ b/lib/fluent/engine.rb @@ -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