mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-22 06:21:55 +01:00
control event logs include loglevel notice
svn:r2746
This commit is contained in:
parent
11d26f10ba
commit
3235c72f6c
2 changed files with 3 additions and 4 deletions
|
@ -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]
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue