MCPcopy
hub / github.com/google/clusterfuzz / set_local_log_only

Function set_local_log_only

src/clusterfuzz/_internal/system/environment.py:1039–1046  ·  view source on GitHub ↗

Force logs to be local-only.

()

Source from the content-addressed store, hash-verified

1037
1038
1039def set_local_log_only():
1040 """Force logs to be local-only."""
1041
1042 # We set this to an empty string because currently the logs
1043 # module does not correctly evaluate env vars
1044 # (i.e., 'false' is evaluated to true).
1045 set_value('LOG_TO_GCP', '')
1046 set_value('LOG_TO_CONSOLE', 'True')
1047
1048
1049def set_tsan_max_history_size():

Callers

nothing calls this directly

Calls 1

set_valueFunction · 0.70

Tested by

no test coverage detected