diff options
Diffstat (limited to 'collectors/slabinfo.plugin/slabinfo.c')
-rw-r--r-- | collectors/slabinfo.plugin/slabinfo.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/collectors/slabinfo.plugin/slabinfo.c b/collectors/slabinfo.plugin/slabinfo.c index 366cba643..9b9119a6e 100644 --- a/collectors/slabinfo.plugin/slabinfo.c +++ b/collectors/slabinfo.plugin/slabinfo.c @@ -336,14 +336,11 @@ void usage(void) { } int main(int argc, char **argv) { - stderror = stderr; clocks_init(); + nd_log_initialize_for_external_plugins("slabinfo.plugin"); program_name = argv[0]; program_version = "0.1"; - error_log_syslog = 0; - - log_set_global_severity_for_external_plugins(); int update_every = 1, i, n, freq = 0; |