Skip to content

Commit

Permalink
Remove too verbose debug logging
Browse files Browse the repository at this point in the history
By fluent#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 <hayashi@clear-code.com>
  • Loading branch information
kenhys committed Jun 11, 2021
1 parent 980425e commit a136dcb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/fluent/plugin/in_tail.rb
Expand Up @@ -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
Expand Down

0 comments on commit a136dcb

Please sign in to comment.