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

Function _alert

tools/log_watcher.py:93–97  ·  view source on GitHub ↗
(fil, lines, logs, logs_level)

Source from the content-addressed store, hash-verified

91
92
93def _alert(fil, lines, logs, logs_level):
94 print(
95 "WARNING: Too many logs!!!: File: %s, total lines: %d, log lines: %d, percent: %f, "
96 "logs: %s" % (fil, lines, logs, float(logs) / lines * 100, logs_level)
97 )
98
99
100def _match(line, match_strings):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected