[tor-commits] [torsocks/master] log: Remove log line when logging is stopped
dgoulet at torproject.org
dgoulet at torproject.org
Mon Nov 19 15:22:16 UTC 2018
commit 9895fbf6af444b55f0f5bfdda71b6591be819a9d
Author: David Goulet <dgoulet at torproject.org>
Date: Mon Apr 23 08:35:59 2018 -0400
log: Remove log line when logging is stopped
It gets really noisy with mutt. Not sure why, I expect maybe multi
thread/process makes it that everytime it dies, we get that log statement.
Signed-off-by: David Goulet <dgoulet at torproject.org>
---
src/common/log.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/common/log.c b/src/common/log.c
index 60a56f7..683a806 100644
--- a/src/common/log.c
+++ b/src/common/log.c
@@ -199,7 +199,6 @@ ATTR_HIDDEN
void log_fd_close_notify(int fd)
{
if (fd >= 0 && logconfig.fp && (fd == fileno(logconfig.fp))) {
- log_print("[tsocks] Log file descriptor closed. Stopping logging.\n");
log_destroy();
}
}
More information about the tor-commits
mailing list