Skip to content

Commit 80f0769

Browse files
committed
Reinstate the log format check in loggingSetupUpdate.
Issue warning if appropriate and carry onto updateStdErrLogHandler. Signed-off-by: Dave Streeter <[email protected]>
1 parent 9bf2dbe commit 80f0769

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

system/jlib/jlog.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2442,6 +2442,12 @@ static void loggingSetupUpdate(const IPropertyTree *oldComponentConfiguration, c
24422442
return;
24432443
}
24442444

2445+
LogHandlerFormat newFormat = getConfigHandlerFormat(logConfig);
2446+
if (newFormat != LOGFORMAT_undefined)
2447+
{
2448+
OWARNLOG("JLog: Ignoring log format configuration change on the fly, as it is not supported in a containerized environment");
2449+
}
2450+
24452451
updateStdErrLogHandler(logConfig);
24462452
}
24472453

0 commit comments

Comments
 (0)