diff options
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c index bd5bc883bd..812f8c96a7 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -971,6 +971,7 @@ static int init_from_config(int argc, char **argv) { /* Close the temporary log we used while starting up, if it isn't already * gone. */ close_temp_logs(); + add_callback_log(LOG_WARN, LOG_ERR, control_event_logmsg); /* Start backgrounding the process, if requested. */ if (options.RunAsDaemon) { |