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