mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Merge pull request #247 from vladimir-v-diaz/develop
Disable the 'iso8601' logger.
This commit is contained in:
commit
76f74bbfe8
2 changed files with 11 additions and 0 deletions
|
|
@ -129,8 +129,14 @@
|
|||
import tuf._vendor.iso8601 as iso8601
|
||||
import tuf._vendor.six as six
|
||||
|
||||
# See 'log.py' to learn how logging is handled in TUF.
|
||||
logger = logging.getLogger('tuf.client.updater')
|
||||
|
||||
# Disable 'iso8601' logger messages to prevent 'iso8601' from clogging the
|
||||
# log file.
|
||||
iso8601_logger = logging.getLogger('tuf._vendor.iso8601.iso8601')
|
||||
iso8601_logger.disabled = True
|
||||
|
||||
|
||||
class Updater(object):
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -57,6 +57,11 @@
|
|||
# See 'log.py' to learn how logging is handled in TUF.
|
||||
logger = logging.getLogger('tuf.repository_lib')
|
||||
|
||||
# Disable 'iso8601' logger messages to prevent 'iso8601' from clogging the
|
||||
# log file.
|
||||
iso8601_logger = logging.getLogger('tuf._vendor.iso8601.iso8601')
|
||||
iso8601_logger.disabled = True
|
||||
|
||||
# Recommended RSA key sizes:
|
||||
# http://www.emc.com/emc-plus/rsa-labs/historical/twirl-and-rsa-key-size.htm#table1
|
||||
# According to the document above, revised May 6, 2003, RSA keys of
|
||||
|
|
|
|||
Loading…
Reference in a new issue