[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [torsocks/master] log: Remove log line when logging is stopped
commit 9895fbf6af444b55f0f5bfdda71b6591be819a9d
Author: David Goulet <dgoulet@xxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxx>
---
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();
}
}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits