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);