116609: Add tomcat shutdown line to process log

This commit is contained in:
Nona Luypaert
2024-07-25 09:33:50 +02:00
parent d80f49e023
commit 156ad471b5

View File

@@ -88,6 +88,9 @@ public class ProcessServiceImpl implements ProcessService, InitializingBean {
log.info("Process with ID {} did not complete before tomcat shutdown, failing it now.", process.getID());
fail(context, process);
// But still attach its log to the process.
appendLog(process.getID(), process.getName(),
"Process did not complete before tomcat shutdown.",
ProcessLogLevel.ERROR);
createLogBitstream(context, process);
}