diff options
author | Roger Dingledine <arma@torproject.org> | 2004-03-04 21:26:23 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-03-04 21:26:23 +0000 |
commit | 01e06148a126b92be1f8d09f83c3b065f6927a46 (patch) | |
tree | df014440bb6d9458bf7f1ac50f3438613c192f4f /src/or/cpuworker.c | |
parent | 8fe504fee63125082efa34e3790e88bde5b81f01 (diff) | |
download | tor-01e06148a126b92be1f8d09f83c3b065f6927a46.tar.gz tor-01e06148a126b92be1f8d09f83c3b065f6927a46.zip |
make workers explain their death better when tor dies
and make them say it at log level info rather than err
svn:r1232
Diffstat (limited to 'src/or/cpuworker.c')
-rw-r--r-- | src/or/cpuworker.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/cpuworker.c b/src/or/cpuworker.c index e3395e0b17..2e80f72d43 100644 --- a/src/or/cpuworker.c +++ b/src/or/cpuworker.c @@ -133,7 +133,8 @@ int cpuworker_main(void *data) { for(;;) { if(read(fd, &question_type, 1) != 1) { - log_fn(LOG_ERR,"read type failed. Exiting."); +// log_fn(LOG_ERR,"read type failed. Exiting."); + log_fn(LOG_INFO,"cpuworker exiting because tor process died."); spawn_exit(); } assert(question_type == CPUWORKER_TASK_ONION); |