diff options
author | Giovane <giovaneliberato@gmail.com> | 2015-10-20 11:12:00 -0200 |
---|---|---|
committer | Giovane <giovaneliberato@gmail.com> | 2015-10-20 11:12:00 -0200 |
commit | 852458c7ace8af548ca5da52f56cfddc1a0be2d8 (patch) | |
tree | 8ffbdea4da61e5db335aa77ff379e0e0a730a056 /service/pixelated/config | |
parent | 68f782dfab4ae13aac4c63e00f5f751f15928bc1 (diff) |
Use logging variable instead of hard coded string to set logging level.
Diffstat (limited to 'service/pixelated/config')
-rw-r--r-- | service/pixelated/config/logger.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/pixelated/config/logger.py b/service/pixelated/config/logger.py index 76a9df3d..5c711981 100644 --- a/service/pixelated/config/logger.py +++ b/service/pixelated/config/logger.py @@ -31,5 +31,5 @@ def init(debug=False): filemode='a') observer = log.PythonLoggingObserver() - logging.getLogger('gnupg').setLevel('WARN') + logging.getLogger('gnupg').setLevel(logging.WARN) observer.start() |