Skip to content

Commit 4de8fc8

Browse files
committed
HPCC-33885 Ensure persistent pods handle logging config changes without restarts
Implement ability to change to table log format. Add ability for on-the-fly logging configuration changes. Validate on-the-fly logging configuration changes to prevent log format change. Signed-off-by: Dave Streeter <[email protected]>
1 parent 38e0e5b commit 4de8fc8

File tree

8 files changed

+421
-354
lines changed

8 files changed

+421
-354
lines changed

dali/base/sysinfologger.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -778,6 +778,10 @@ class DaliMsgLoggerHandler : public CSimpleInterfaceOf<ILogMsgHandler>
778778
{
779779
return 0;
780780
}
781+
virtual LogHandlerFormat queryFormatType() const override
782+
{
783+
return LOGFORMAT_undefined;
784+
};
781785
private:
782786
unsigned messageFields = MSGFIELD_all;
783787
};

helm/hpcc/templates/_helpers.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2623,7 +2623,7 @@ globalExcludeList below is a hard-coded list of global keys to exclude.
26232623
26242624
*/}}
26252625
{{- define "hpcc.getConfigSHA" }}
2626-
{{- $globalExcludeList := list "~.*::replicas" "~.*::vaults" "~.*::warnings" -}}
2626+
{{- $globalExcludeList := list "~.*::logging" "~.*::replicas" "~.*::vaults" "~.*::warnings" -}}
26272627
{{- $globalExcludeSectionRegexList := list ".*-job.yaml$" -}}
26282628
{{- $componentExcludeList := ternary (splitList "," (.excludeKeys | default "")) list (hasKey . "excludeKeys") -}}
26292629
{{- $combinedExcludeKeyList := concat $globalExcludeList $componentExcludeList -}}

0 commit comments

Comments
 (0)