diff options
Diffstat (limited to 'collectors/perf.plugin/perf_plugin.c')
-rw-r--r-- | collectors/perf.plugin/perf_plugin.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/collectors/perf.plugin/perf_plugin.c b/collectors/perf.plugin/perf_plugin.c index 68c0f917d..31dae03e5 100644 --- a/collectors/perf.plugin/perf_plugin.c +++ b/collectors/perf.plugin/perf_plugin.c @@ -1298,6 +1298,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; @@ -1328,7 +1330,7 @@ int main(int argc, char **argv) { if(unlikely(netdata_exit)) break; if(unlikely(debug && iteration)) - fprintf(stderr, "perf.plugin: iteration %zu, dt %llu usec\n" + fprintf(stderr, "perf.plugin: iteration %zu, dt %"PRIu64" usec\n" , iteration , dt ); |