diff options
author | Giovane Liberato <giovaneliberato@gmail.com> | 2015-10-16 18:48:09 -0300 |
---|---|---|
committer | Pixelated <pixelated@pix-poa-1> | 2015-10-16 18:55:47 -0300 |
commit | 0bf81341f33ac415d48c0b012fb66c8f7df45f57 (patch) | |
tree | 737c6662e23a57bae781c3feadfa726e98b39ed9 /service/pixelated/config | |
parent | fa8c1da3a1106631aeaccfebe2f3a76d7a6d488a (diff) |
project-issues#130 Change gnupg logging level
Changed logging level to WARN in order to prevent logging gpg keys.
Diffstat (limited to 'service/pixelated/config')
-rw-r--r-- | service/pixelated/config/leap.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/service/pixelated/config/leap.py b/service/pixelated/config/leap.py index 83b913a8..eb8845cc 100644 --- a/service/pixelated/config/leap.py +++ b/service/pixelated/config/leap.py @@ -32,6 +32,7 @@ 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() |