-
Notifications
You must be signed in to change notification settings - Fork 78
Description
In versions greater than v3.0.58, the dropeventsfilter plugin is ignoring the debug flag settings in the config file. This is causing the syslog to fill up with INFO and drop-events plugin log entries:
root@solr-stats-prod-02:/tmp# /usr/bin/logagent --config /etc/sematext/logagent.conf
2022-07-12T09:55:20.734Z v3.0.68 pid[19596] add files to plugin list
2022-07-12T09:55:20.737Z v3.0.68 pid[19596] init filter: inputFilter
2022-07-12T09:55:20.737Z v3.0.68 pid[19596] init filter: outputFilter
2022-07-12T09:55:20.738Z v3.0.68 pid[19596] set cfg to debug=false for drop-events
2022-07-12T09:55:20.738Z v3.0.68 pid[19596] load outputFilter: 0 drop-events
2022-07-12T09:55:20.738Z v3.0.68 pid[19596] init plugins
2022-07-12T09:55:20.739Z v3.0.68 pid[19596] ../lib/plugins/input/stdin
2022-07-12T09:55:20.751Z v3.0.68 pid[19596] ../lib/plugins/output/stdout
2022-07-12T09:55:20.756Z v3.0.68 pid[19596] ../lib/plugins/output/elasticsearch.js
2022-07-12T09:55:20.764Z v3.0.68 pid[19596] ../lib/plugins/output/elasticsearch
2022-07-12T09:55:20.764Z v3.0.68 pid[19596] ../lib/plugins/input/files
2022-07-12T09:55:20.809Z v3.0.68 pid[19596] using glob pattern: {/var/solr/logs/solr.log,/var/solr/logs/solr_slow_requests.1log}
2022-07-12T09:55:20.897Z v3.0.68 pid[19596] Logagent report: pid[19596] 403 ms 0 lines parsed. 0 lines/s 0.000 MB/s - empty lines: 0
2022-07-12T09:55:20.897Z v3.0.68 pid[19596] Logagent stats: tokens.used=0 logs.shipped=0 http.failed=0 http.retranstmit=0 parser.throughput.lps=0 parser.throughput.bps=0 parser.lines.parsed=0
2022-07-12T09:55:20.898Z v3.0.68 pid[19596] Memory stats: heapUsedMB=20 heapTotalMB=35 memoryRSSMB=63
2022-07-12T09:55:20.898Z v3.0.68 pid[19596] Logagent initialized
2022-07-12T09:55:20.910Z v3.0.68 pid[19596] Watching file:/var/solr/logs/solr_slow_requests.log from position: 4385606
2022-07-12T09:55:20.910Z v3.0.68 pid[19596] Watching file:/var/solr/logs/solr.log from position: 7340032
undefined
drop-events plugin: true - - -
INFO
drop-events plugin: true - - -
INFO
drop-events plugin: true - - -
INFO
drop-events plugin: true - - -
INFO
drop-events plugin: true - - -
INFO
The issue is present in versions v3.0.68 - v3.1.2 and seems to have been introduced by this commit.