Force logs to be local-only.
()
| 1037 | |
| 1038 | |
| 1039 | def 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 | |
| 1049 | def set_tsan_max_history_size(): |
nothing calls this directly
no test coverage detected