diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2023-10-03 11:26:52 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-03 11:26:52 +0300 |
commit | f4a44dfaa5cd302c852fffc3d3397475eb885de6 (patch) | |
tree | 5d92945d7f72399b2e0cdf9ed34fa5507447e738 /collectors/cups.plugin | |
parent | 69a663a21da1bbace2179860871a53d99c801cf7 (diff) |
external plugins: respect env NETDATA_LOG_SEVERITY_LEVEL (#16089)
* func to set global log sev level for ext plugins
* apps: set log sev level
* cgroup-network: set log sev level
* cups: set log sev level
* debugfs: set log sev level
* freeipmi: set log sev level
* nfacct: set log sev level
* perf: set log sev level
* slabinfo: set log sev level
* xenstat: set log sev level
* cgroup-name.sh: handle log sev level
* alarm-notify.sh: handle log sev level
* systemd-journal: set log sev e level
* ebpf.plugin: set log sev level
* ioping: handle log sev level
* cgroup-network-helper.sh: handle log sev level
* fix for cgroup-network-helper.sh
Diffstat (limited to 'collectors/cups.plugin')
-rw-r--r-- | collectors/cups.plugin/cups_plugin.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/collectors/cups.plugin/cups_plugin.c b/collectors/cups.plugin/cups_plugin.c index ce7f05d4d2..82bc457a1e 100644 --- a/collectors/cups.plugin/cups_plugin.c +++ b/collectors/cups.plugin/cups_plugin.c @@ -241,6 +241,8 @@ int main(int argc, char **argv) { error_log_errors_per_period = 100; error_log_throttle_period = 3600; + log_set_global_severity_for_external_plugins(); + parse_command_line(argc, argv); errno = 0; |