From abdee954bbb2e3cabf1f997968ecc72825e249e2 Mon Sep 17 00:00:00 2001 From: Ned Wright Date: Wed, 15 Jan 2025 12:22:16 +0000 Subject: [PATCH] fix log-file-handler --- core/debug_is/debug.cc | 2 +- nodes/http_transaction_handler/package/k8s-log-file-handler.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/debug_is/debug.cc b/core/debug_is/debug.cc index 3588853..d7dd483 100644 --- a/core/debug_is/debug.cc +++ b/core/debug_is/debug.cc @@ -527,7 +527,7 @@ Debug::preload() active_streams["FOG"] = make_shared(); string branch = Version::getBranch(); - if (branch == "master" || branch.substr(0, 6) == "hotfix") { + if (branch == "open-source" || branch == "master" || branch.substr(0, 6) == "hotfix") { should_assert_optional = false; } else { should_assert_optional = true; diff --git a/nodes/http_transaction_handler/package/k8s-log-file-handler.sh b/nodes/http_transaction_handler/package/k8s-log-file-handler.sh index 97d3b44..1735c7c 100755 --- a/nodes/http_transaction_handler/package/k8s-log-file-handler.sh +++ b/nodes/http_transaction_handler/package/k8s-log-file-handler.sh @@ -7,5 +7,5 @@ while true; do sleep 5 continue fi - tail -q -f /var/log/nano_agent/cp-nano-http-transaction-handler.log? >> /proc/1/fd/1 + tail -q -f /var/log/nano_agent/cp-nano-http-transaction-handler.log* >> /proc/1/fd/1 done