diff --git a/src/log.c b/src/log.c index 066dff2..61ca9f8 100644 --- a/src/log.c +++ b/src/log.c @@ -279,6 +279,8 @@ int setup_logging (void) } logging_initialized = TRUE; + send_stored_logs (); + ret = 0; done: diff --git a/src/main.c b/src/main.c index fb7ac37..63a9a75 100644 --- a/src/main.c +++ b/src/main.c @@ -364,7 +364,6 @@ main (int argc, char **argv) } processed_config_file = TRUE; - send_stored_logs (); init_stats ();