[tor-commits] [sbws/master] Indeed, handlers don't necessarily need log levels

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


commit 8674d780ee913609995cc2a546c5fb527029897a
Author: Matt Traudt <sirmatt at ksu.edu>
Date:   Wed Jun 6 21:41:30 2018 -0400

    Indeed, handlers don't necessarily need log levels
---
 sbws/config.log.default.ini | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sbws/config.log.default.ini b/sbws/config.log.default.ini
index 3d8d9bd..9bbe7aa 100644
--- a/sbws/config.log.default.ini
+++ b/sbws/config.log.default.ini
@@ -56,8 +56,6 @@ datefmt = %b %d %H:%M:%S
 [handler_sbwsfile]
 class = handlers.RotatingFileHandler
 formatter = sbwssys
-# when not using level, it seems to be using the one passed as cli arg,
-# which is the desired behaviour
 # There doesn't seem to be a way to put ${paths:log_filepath} here since the
 # logging library eval()s this, which doesn't give the ini parsing library a
 # chance to replace the text. So we do it in configure_logging() in





More information about the tor-commits mailing list