diff options
author | Roger Dingledine <arma@torproject.org> | 2004-11-09 10:32:02 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-11-09 10:32:02 +0000 |
commit | 3235c72f6cc85e20ced08657bbb49fafe4846273 (patch) | |
tree | a34937591666d49eca15ea0e9f166b27fe9fd93a | |
parent | 11d26f10ba291af693091ee216b1a15274e71517 (diff) | |
download | tor-3235c72f6cc85e20ced08657bbb49fafe4846273.tar.gz tor-3235c72f6cc85e20ced08657bbb49fafe4846273.zip |
control event logs include loglevel notice
svn:r2746
-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) { |