Always read Liberty log from start

This commit is contained in:
arthur.barr@uk.ibm.com
2023-02-07 13:17:59 +00:00
committed by Arthur Barr
parent 9c7f49d8d3
commit 98129eb660

View File

@@ -243,7 +243,9 @@ func doMain() error {
//For mirroring web server logs if source variable is set //For mirroring web server logs if source variable is set
if checkLogSourceForMirroring("web") { if checkLogSourceForMirroring("web") {
_, err = mirrorWebServerLogs(ctx, &wg, name, newQM, mf) // Always log from the start of the web server messages.log, as
// Liberty resets it.
_, err = mirrorWebServerLogs(ctx, &wg, name, true, mf)
if err != nil { if err != nil {
logTermination(err) logTermination(err)
return err return err