Skip to content

Commit 1b2010a

Browse files
author
Alain Siegrist
committed
Change "adding ..." log level to debug
1 parent 10f0f11 commit 1b2010a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/fluent/agent.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def lifecycle(desc: false)
125125

126126
def add_match(type, pattern, conf)
127127
log_type = conf.for_this_worker? ? :default : :worker0
128-
log.info log_type, "adding match#{@context.nil? ? '' : " in #{@context}"}", pattern: pattern, type: type
128+
log.debug log_type, "adding match#{@context.nil? ? '' : " in #{@context}"}", pattern: pattern, type: type
129129

130130
output = Plugin.new_output(type)
131131
output.context_router = @event_router
@@ -147,7 +147,7 @@ def add_match(type, pattern, conf)
147147

148148
def add_filter(type, pattern, conf)
149149
log_type = conf.for_this_worker? ? :default : :worker0
150-
log.info log_type, "adding filter#{@context.nil? ? '' : " in #{@context}"}", pattern: pattern, type: type
150+
log.debug log_type, "adding filter#{@context.nil? ? '' : " in #{@context}"}", pattern: pattern, type: type
151151

152152
filter = Plugin.new_filter(type)
153153
filter.context_router = @event_router

lib/fluent/root_agent.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ def suppress_interval(interval_time)
310310

311311
def add_source(type, conf)
312312
log_type = conf.for_this_worker? ? :default : :worker0
313-
log.info log_type, "adding source", type: type
313+
log.debug log_type, "adding source", type: type
314314

315315
input = Plugin.new_input(type)
316316
# <source> emits events to the top-level event router (RootAgent#event_router).

0 commit comments

Comments
 (0)