MCPcopy Create free account
hub / github.com/wal-e/wal-e / set_level

Function set_level

wal_e/log_help.py:132–137  ·  view source on GitHub ↗

Adjust the logging level of WAL-E

(level)

Source from the content-addressed store, hash-verified

130
131
132def set_level(level):
133 """Adjust the logging level of WAL-E"""
134 for handler in HANDLERS:
135 handler.setLevel(level)
136
137 logging.root.setLevel(level)
138
139
140class WalELogger(object):

Callers 1

configureFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected