From aaa3ba8c26a66a3d11f3adbd5b88a047059d2d93 Mon Sep 17 00:00:00 2001 From: Krzysztof Witukiewicz <krzysztof.witukiewicz@mgm-tp.com> Date: Tue, 14 Jan 2025 11:03:03 +0100 Subject: [PATCH] OZG-6223 OZG-7381 Log tmp file --- .../de/ozgcloud/alfa/common/zipdownload/ZipDownloadService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/alfa-service/src/main/java/de/ozgcloud/alfa/common/zipdownload/ZipDownloadService.java b/alfa-service/src/main/java/de/ozgcloud/alfa/common/zipdownload/ZipDownloadService.java index 298be9b283..e502f3f229 100644 --- a/alfa-service/src/main/java/de/ozgcloud/alfa/common/zipdownload/ZipDownloadService.java +++ b/alfa-service/src/main/java/de/ozgcloud/alfa/common/zipdownload/ZipDownloadService.java @@ -47,6 +47,7 @@ public class ZipDownloadService { public OzgZipFile createZipFile(List<OzgFile> ozgFiles) { var file = TempFileUtils.createTmpFile().toFile(); + LOG.info("Created tmp file {}", file); try (var zipOutputStream = new ZipOutputStream(new FileOutputStream(file))) { ozgFiles.forEach(ozgFile -> addOzgFileToZip(ozgFile, zipOutputStream)); return new OzgZipFile(file); -- GitLab