From b340fd9e25c9aa86830e3cbbba69ae5965539e91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=A4felfinger?= Date: Wed, 4 Oct 2023 21:01:48 +0200 Subject: [PATCH] fixes logoutput --- PiwigoDirectorySync/Services/ImageSynchronizer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PiwigoDirectorySync/Services/ImageSynchronizer.cs b/PiwigoDirectorySync/Services/ImageSynchronizer.cs index a44bec3..0739afc 100644 --- a/PiwigoDirectorySync/Services/ImageSynchronizer.cs +++ b/PiwigoDirectorySync/Services/ImageSynchronizer.cs @@ -238,7 +238,7 @@ internal class ImageSynchronizer : IImageSynchronizer var fileInfo = new FileInfo(Path.Combine(piwigoServer.RootDirectory, imageEntity.FilePath)); var fileSizeInKb = fileInfo.Length / 1024f; - _logger.Information("Uploading image {ImageFilePath} ({ImageId}) to piwigo server ({Size} KiB)", imageEntity.FilePath, imageEntity.ServerImageId, fileSizeInKb); + _logger.Information("Uploading image {ImageFilePath} ({ImageId}) to piwigo server ({Size} KiB)", imageEntity.FilePath, imageEntity.Id, fileSizeInKb); var imageUpload = GetImageUpload(imageEntity, fileInfo.CreationTime); var imageUploaded = await piwigoClient.UploadImageAsync(fileInfo, imageUpload, ct);