aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/cpuworker.c3
-rw-r--r--src/or/dns.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/or/cpuworker.c b/src/or/cpuworker.c
index e3395e0b1..2e80f72d4 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);
diff --git a/src/or/dns.c b/src/or/dns.c
index 6fcacfc95..4eed20d6e 100644
--- a/src/or/dns.c
+++ b/src/or/dns.c
@@ -398,7 +398,8 @@ int dnsworker_main(void *data) {
for(;;) {
if(read(fd, &address_len, 1) != 1) {
- log_fn(LOG_INFO,"read length failed. Child exiting.");
+// log_fn(LOG_INFO,"read length failed. Child exiting.");
+ log_fn(LOG_INFO,"dnsworker exiting because tor process died.");
spawn_exit();
}
assert(address_len > 0);