From 2ac2e8c98ace2fa55dc27ec24eae9af7bf0520c0 Mon Sep 17 00:00:00 2001 From: Lincoln Baker <51833247+lbakerchef@users.noreply.github.com> Date: Fri, 3 Apr 2026 11:51:48 -0500 Subject: [PATCH] Fix bifrost log rotation Point the automate-cs-oc-bifrost request logger at requests.log instead of crash.log. Before this change, request logging was bound to the crash log basename, so the actively written file would move from crash.log to numbered files such as crash.log.0, crash.log.1, and crash.log.2 as wrap-mode rotation advanced. After this change, request traffic rotates correctly under the requests.log family, while crash reporting continues to write to the stable crash.log basename and rotates older crash output into numbered crash.log files. --- components/automate-cs-oc-bifrost/habitat/config/sys.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/automate-cs-oc-bifrost/habitat/config/sys.config b/components/automate-cs-oc-bifrost/habitat/config/sys.config index 75005a7fcc..3f1960fc52 100644 --- a/components/automate-cs-oc-bifrost/habitat/config/sys.config +++ b/components/automate-cs-oc-bifrost/habitat/config/sys.config @@ -67,7 +67,7 @@ {webmachine, [ {log_handlers, [ {oc_wm_request_logger, [ - {file, "{{pkg.svc_var_path}}/logs/crash.log"}, + {file, "{{pkg.svc_var_path}}/logs/requests.log"}, {file_size, {{cfg.log.rotation_max_megabytes}}}, %% Size in MB {files, {{cfg.log.rotation_max_files}}}, {annotations, [requestor_id, created_authz_id, perf_stats, msg]}