| 728 | } |
| 729 | |
| 730 | static int64_t ui_log_rotate_bytes(void) { |
| 731 | const char *env = cbm_runtime_getenv("CBM_UI_LOG_ROTATE_BYTES"); |
| 732 | if (env && env[0] != '\0') { |
| 733 | long long v = atoll(env); |
| 734 | if (v > 0) |
| 735 | return (int64_t)v; |
| 736 | } |
| 737 | return UI_LOG_ROTATE_DEFAULT; |
| 738 | } |
| 739 | |
| 740 | /* One-time, bounded migration of old file-only info records. Preserve original |
| 741 | * timestamps and leave project provenance unknown; no current project is inferred. |
no test coverage detected