[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [sbws/master] major: Change default log level to info
commit fa70b0a1edd01062aa82724ff4371116d00225fa
Author: juga0 <juga@xxxxxxxxxx>
Date: Wed Mar 3 07:57:15 2021 +0000
major: Change default log level to info
also change formatting to show thread.
---
sbws/config.default.ini | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/sbws/config.default.ini b/sbws/config.default.ini
index c47e4fd..4080189 100644
--- a/sbws/config.default.ini
+++ b/sbws/config.default.ini
@@ -119,13 +119,13 @@ to_file_max_bytes = 10485760
to_file_num_backups = 50
# Level to log at. Debug, info, warning, error, critical.
# `level` must be set to the lower of all the handler levels.
-level = debug
-to_file_level = debug
+level = info
+to_file_level = info
to_stdout_level = info
to_syslog_level = info
# Format string to use when logging
-format = %(asctime)s %(module)s[%(process)s]: <%(levelname)s> %(message)s
+format = %(asctime)s %(module)s[%(process)s]: <%(levelname)s> (%(threadName)s) %(message)s
to_stdout_format = ${format}
to_syslog_format = %(module)s[%(process)s]: <%(levelname)s> %(message)s
# verbose formatter useful for debugging
-to_file_format = %(asctime)s %(levelname)s %(threadName)s %(filename)s:%(lineno)s - %(funcName)s - %(message)s
+to_file_format = %(asctime)s %(levelname)s (%(threadName)s) %(filename)s:%(lineno)s - %(funcName)s - %(message)s
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits