Dauer auf Millisekunden umgestellt
This commit is contained in:
@@ -165,9 +165,10 @@ public class FileProcessingPipeline {
|
|||||||
context.status = ProcessingStatus.FAILED;
|
context.status = ProcessingStatus.FAILED;
|
||||||
} finally {
|
} finally {
|
||||||
postProcessingCleanup(context);
|
postProcessingCleanup(context);
|
||||||
long durationSeconds = Duration.between(context.startTime, LocalDateTime.now()).toSeconds();
|
long duration = Duration.between(context.startTime, LocalDateTime.now()).toMillis();
|
||||||
Log.infof("Lauf %s abgeschlossen — Status: %s, Dauer: %ds",
|
Log.infof("Lauf %s für Datei %s abgeschlossen — Status: %s, Dauer: %dms",
|
||||||
context.runId, context.status, durationSeconds);
|
context.runId, zipFilename, context.status, duration);
|
||||||
|
Log.info("-----------------------------------------------------------------------------------------------------");
|
||||||
MDC.clear();
|
MDC.clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user