change uploaded image log message to include filepath
All checks were successful
PiwigoDirectorySync/pipeline/head This commit looks good

This commit is contained in:
Philipp Häfelfinger 2023-09-30 23:42:44 +02:00
parent 783528b8b3
commit 8e00c230fc

View File

@ -223,7 +223,7 @@ internal class ImageSynchronizer : IImageSynchronizer
imageEntity.ServerImageId = imageUploaded.ImageId; imageEntity.ServerImageId = imageUploaded.ImageId;
imageEntity.UploadRequired = false; imageEntity.UploadRequired = false;
_logger.Information("Uploaded image {ImageEntityName} ({ImageEntityId}) to piwigo server with id {ImageEntityServerImageId}", imageEntity.Name, imageEntity.Id, _logger.Information("Uploaded image {ImageFilePath} ({ImageId}) to piwigo server with id {ImageServerImageId}", imageEntity.FilePath, imageEntity.Id,
imageEntity.ServerImageId); imageEntity.ServerImageId);
await _persistenceContext.SaveChangesAsync(ct); await _persistenceContext.SaveChangesAsync(ct);