diff options
-rw-r--r-- | doc/control-spec.txt | 5 | ||||
-rw-r--r-- | src/or/config.c | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/doc/control-spec.txt b/doc/control-spec.txt index 63b5a0a31b..8f2f2d8c06 100644 --- a/doc/control-spec.txt +++ b/doc/control-spec.txt @@ -174,13 +174,12 @@ the message. (Launched=0,connected=1,failed=2,closed=3) OR nickname/identity [NUL-terminated] - 0x0004 -- Bandwidth used in last N seconds. + 0x0004 -- Bandwidth used in the last second - Number of seconds covered in interval [2 octets] Bytes read [4 octets] Bytes written [4 octets] - 0x0005 -- Warning/error occurred + 0x0005 -- Notice/warning/error occurred Message [NUL-terminated] diff --git a/src/or/config.c b/src/or/config.c index 66aa4918ed..87d0651a56 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -262,7 +262,7 @@ options_act(void) { /* 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); + add_callback_log(LOG_NOTICE, LOG_ERR, control_event_logmsg); /* Start backgrounding the process, if requested. */ if (options->RunAsDaemon) { |