Commit 7b3a3475 authored by Rob Carleski's avatar Rob Carleski 🇮🇸
Browse files

Modify boxsdk logger to suppress error messages

parent 281fa13a
......@@ -39,6 +39,7 @@ class SharedAccount:
self.config['box']['auth_file']
)
boxClient = boxsdk.Client(auth)
logging.getLogger('boxsdk').setLevel(logging.CRITICAL)
except IOError as e:
self.logger.error(e, extra={'entity': self.account})
exit(2)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment