diff options
Diffstat (limited to 'service/pixelated/config')
-rw-r--r-- | service/pixelated/config/leap.py | 2 | ||||
-rw-r--r-- | service/pixelated/config/logger.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/service/pixelated/config/leap.py b/service/pixelated/config/leap.py index b32f0ec5..83b913a8 100644 --- a/service/pixelated/config/leap.py +++ b/service/pixelated/config/leap.py @@ -6,7 +6,6 @@ from pixelated.bitmask_libraries.certs import LeapCertificate from pixelated.bitmask_libraries.provider import LeapProvider from pixelated.bitmask_libraries.session import LeapSessionFactory from twisted.internet import defer -import logging _CREATE_WELCOME_MAIL = False @@ -33,7 +32,6 @@ def initialize_leap(leap_provider_cert, provider = LeapProvider(provider, config) LeapCertificate(provider).setup_ca_bundle() leap_session = LeapSessionFactory(provider).create(username, password) - logging.getLogger('gnupg').setLevel('WARN') if initial_sync: leap_session = yield leap_session.initial_sync() diff --git a/service/pixelated/config/logger.py b/service/pixelated/config/logger.py index c584d5bb..5bc2ed49 100644 --- a/service/pixelated/config/logger.py +++ b/service/pixelated/config/logger.py @@ -31,4 +31,6 @@ def init(debug=False): filemode='a') observer = log.PythonLoggingObserver() + logging.getLogger('gnupg').setLevel('WARN') observer.start() + |