From 3a3aee0227b621b61d1d7f258147f7ff661316e0 Mon Sep 17 00:00:00 2001 From: Yuta Iwama Date: Fri, 25 Oct 2019 12:13:05 +0900 Subject: [PATCH] Add FluentLogEventEmitter Signed-off-by: Yuta Iwama --- lib/fluent/engine.rb | 72 +++++++++++++++++++++++++++----------------- 1 file changed, 45 insertions(+), 27 deletions(-) diff --git a/lib/fluent/engine.rb b/lib/fluent/engine.rb index 5ffa24d358..7c656f9692 100644 --- a/lib/fluent/engine.rb +++ b/lib/fluent/engine.rb @@ -115,36 +115,12 @@ def run_configure(conf) def configure(conf) @root_agent.configure(conf) - begin - log_event_agent = @root_agent.find_label(Fluent::Log::LOG_EVENT_LABEL) - log_event_router = log_event_agent.event_router - - # suppress mismatched tags only for