We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2673f0 commit 0162182Copy full SHA for 0162182
lib/filewatch/tail_mode/handlers/base.rb
@@ -110,7 +110,7 @@ def add_or_update_sincedb_collection(watched_file)
110
update_existing_sincedb_collection_value(watched_file, sincedb_value)
111
watched_file.initial_completed
112
else
113
- logger.trace("add_or_update_sincedb_collection: found sincedb record",
+ logger.trace? && logger.trace("add_or_update_sincedb_collection: found sincedb record",
114
:sincedb_key => watched_file.sincedb_key, :sincedb_value => sincedb_value)
115
# detected a rotation, Discoverer can't handle this because this watched file is not a new discovery.
116
# we must handle it here, by transferring state and have the sincedb value track this watched file
0 commit comments