diff options
author | Roger Dingledine <arma@torproject.org> | 2004-03-30 03:15:53 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-03-30 03:15:53 +0000 |
commit | 524312494b5c5b015dd7f0db350c959afdefcf9a (patch) | |
tree | 76569f547149d62f320ffc90168f45985ea5b7b7 /src/or/main.c | |
parent | 0864d3f484f20fa5f2657a339dcb2e166bfa1a0f (diff) | |
download | tor-524312494b5c5b015dd7f0db350c959afdefcf9a.tar.gz tor-524312494b5c5b015dd7f0db350c959afdefcf9a.zip |
use 'notice' loglevel for things the operator should hear
but that aren't warnings
svn:r1384
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/main.c b/src/or/main.c index 3478008dbd..0f0b40fc8d 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -472,7 +472,7 @@ static int init_from_config(int argc, char **argv) { add_stream_log(options.loglevel, "<stderr>", stderr); log_fn(LOG_WARN, "Cannot write to LogFile '%s': %s.", options.LogFile, strerror(errno)); } - log_fn(LOG_WARN, "Successfully opened LogFile '%s', redirecting output.", + log_fn(LOG_NOTICE, "Successfully opened LogFile '%s', redirecting output.", options.LogFile); } if(options.DebugLogFile) { @@ -499,7 +499,7 @@ static int init_from_config(int argc, char **argv) { static int do_hup(void) { char keydir[512]; - log_fn(LOG_WARN,"Received sighup. Reloading config."); + log_fn(LOG_NOTICE,"Received sighup. Reloading config."); has_completed_circuit=0; /* first, reload config variables, in case they've changed */ /* no need to provide argc/v, they've been cached inside init_from_config */ @@ -730,7 +730,7 @@ int tor_main(int argc, char *argv[]) { /* give it somewhere to log to initially */ add_stream_log(LOG_INFO, "<stdout>", stdout); - log_fn(LOG_WARN,"Tor v%s. This is experimental software. Do not use it if you need anonymity.",VERSION); + log_fn(LOG_NOTICE,"Tor v%s. This is experimental software. Do not use it if you need anonymity.",VERSION); if (network_init()<0) { log_fn(LOG_ERR,"Error initializing network; exiting."); |