MCPcopy Create free account
hub / github.com/StackStorm/st2 / disable_debugging

Function disable_debugging

st2common/st2common/util/debugging.py:49–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47
48
49def disable_debugging():
50 global ENABLE_DEBUGGING
51 ENABLE_DEBUGGING = False
52
53 set_log_level_for_all_loggers(level=stdlib_logging.INFO)
54
55 setup_logging(loglevel=stdlib_logging.INFO)
56 paramiko.common.logging.basicConfig(level=paramiko.common.INFO)
57
58 return ENABLE_DEBUGGING
59
60
61def is_enabled():

Callers

nothing calls this directly

Calls 2

setup_loggingFunction · 0.85

Tested by

no test coverage detected