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/ebpf.plugin/ebpf.c | |
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/ebpf.plugin/ebpf.c')
-rw-r--r-- | collectors/ebpf.plugin/ebpf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/collectors/ebpf.plugin/ebpf.c b/collectors/ebpf.plugin/ebpf.c index 1ba5db61c1..5ccc353fc8 100644 --- a/collectors/ebpf.plugin/ebpf.c +++ b/collectors/ebpf.plugin/ebpf.c @@ -4062,6 +4062,9 @@ static void ebpf_manage_pid(pid_t pid) int main(int argc, char **argv) { stderror = stderr; + + log_set_global_severity_for_external_plugins(); + clocks_init(); main_thread_id = gettid(); |