diff options
author | Jefferson Stachelski <jstachel@thoughtworks.com> | 2016-01-18 11:48:46 -0200 |
---|---|---|
committer | Jefferson Stachelski <jstachel@thoughtworks.com> | 2016-01-20 11:18:32 -0200 |
commit | 5e17652b6fa0d6412a097c0ec63fa224f3d606e7 (patch) | |
tree | 5e2c946e3b99dca1a5b1fc2b72c6100bae482d96 /service | |
parent | 127e2279005dcd7cf44d537435f21c7045230ec4 (diff) |
Fixed the PGP private key that was being logged
Diffstat (limited to 'service')
-rw-r--r-- | service/pixelated/config/logger.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/service/pixelated/config/logger.py b/service/pixelated/config/logger.py index 52ecc4ed..a8000926 100644 --- a/service/pixelated/config/logger.py +++ b/service/pixelated/config/logger.py @@ -31,5 +31,7 @@ def init(debug=False): filemode='a') observer = log.PythonLoggingObserver() + # don't remove this line, it fix the PGP private key logged + logging.getLogger('gnupg').setLevel(logging.WARN) logging.getLogger('pixelated').setLevel(logging.INFO) observer.start() |