[tor-commits] [sbws/master] It's easier to tell what's going on with thread names

pastly at torproject.org pastly at torproject.org
Thu Jun 14 13:29:50 UTC 2018


commit c353297f74621482abfcb600e626d4c2d18e4123
Author: Matt Traudt <sirmatt at ksu.edu>
Date:   Wed Jun 6 21:53:59 2018 -0400

    It's easier to tell what's going on with thread names
---
 sbws/config.log.default.ini | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sbws/config.log.default.ini b/sbws/config.log.default.ini
index 9bbe7aa..4bae7aa 100644
--- a/sbws/config.log.default.ini
+++ b/sbws/config.log.default.ini
@@ -37,7 +37,7 @@ level = DEBUG
 
 # verbose formatter useful for debugging
 [formatter_sbwsdebug]
-format = %(asctime)s %(levelname)s %(thread)d %(filename)s:%(lineno)s - %(funcName)s - %(message)s
+format = %(asctime)s %(levelname)s %(threadName)s %(filename)s:%(lineno)s - %(funcName)s - %(message)s
 datefmt = %Y-%m-%d %H:%M:%S
 
 # for logging to system log





More information about the tor-commits mailing list