chore(processors.regex): Change logging severity to debug (#16151)

This commit is contained in:
Thomas Casteleyn 2024-11-07 18:00:44 +01:00 committed by GitHub
parent 58b4126f0b
commit 9565421c15
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ func (c *converter) setup(ct converterType, log telegraf.Logger) error {
} }
} }
if allNamed { if allNamed {
log.Infof("%s: Using named-group mode...", ct) log.Debugf("%s: Using named-group mode...", ct)
c.groups = groups[1:] c.groups = groups[1:]
} else { } else {
msg := "Neither 'result_key' nor 'replacement' given with unnamed or mixed groups;" msg := "Neither 'result_key' nor 'replacement' given with unnamed or mixed groups;"
@ -86,7 +86,7 @@ func (c *converter) setup(ct converterType, log telegraf.Logger) error {
log.Warnf("%s: %s", ct, msg) log.Warnf("%s: %s", ct, msg)
} }
} else { } else {
log.Infof("%s: Using explicit mode...", ct) log.Debugf("%s: Using explicit mode...", ct)
} }
case convertTagRename, convertFieldRename: case convertTagRename, convertFieldRename:
switch c.ResultKey { switch c.ResultKey {