[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [sbws/master] Use syslog level
commit 0306526e2a83968d3383bf8df5c06b41c0ee71ab
Author: juga0 <juga@xxxxxxxxxx>
Date: Tue Jul 10 08:03:38 2018 +0000
Use syslog level
---
sbws/util/config.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sbws/util/config.py b/sbws/util/config.py
index c75eef3..bfd828c 100644
--- a/sbws/util/config.py
+++ b/sbws/util/config.py
@@ -139,6 +139,8 @@ def configure_logging(args, conf):
conf['handler_to_file']['level'] = conf['logging']['to_file_level'].upper()
conf['handler_to_stdout']['level'] = \
conf['logging']['to_stdout_level'].upper()
+ conf['handler_to_syslog']['level'] = \
+ conf['logging']['to_syslog_level'].upper()
# Now we configure the standard python logging system
with NamedTemporaryFile('w+t') as fd:
conf.write(fd)
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits