From a136dcb5e333e21352e7f5d63804d4ddb52d1fd7 Mon Sep 17 00:00:00 2001 From: Kentaro Hayashi Date: Fri, 11 Jun 2021 12:09:00 +0900 Subject: [PATCH] Remove too verbose debug logging By #3185, log throttling per file feature was merged, but it also introduce too much debug logging code in #handle_notify. Before: def handle_notify ... while true ... @log.debug("reading file: ...") ... end ... Signed-off-by: Kentaro Hayashi --- lib/fluent/plugin/in_tail.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/fluent/plugin/in_tail.rb b/lib/fluent/plugin/in_tail.rb index 60e269cf1f..379b36c505 100644 --- a/lib/fluent/plugin/in_tail.rb +++ b/lib/fluent/plugin/in_tail.rb @@ -993,7 +993,6 @@ def handle_notify @fifo << data @fifo.read_lines(@lines) - @log.debug("reading file: #{@path}") if limit_bytes_per_second_reached? || should_shutdown_now? # Just get out from tailing loop. read_more = false