Log adding missing artist messages as info

pull/5316/head
Bogdan 1 month ago
parent 8aa0754843
commit 44a5654918

@ -114,7 +114,7 @@ namespace NzbDrone.Core.Music
// so that the album doesn't just disappear. // so that the album doesn't just disappear.
// TODO filter by metadata id before hitting database // TODO filter by metadata id before hitting database
_logger.Trace($"Ensuring parent artist exists [{remote.ArtistMetadata.Value.ForeignArtistId}]"); _logger.Trace("Ensuring parent artist exists [{0}]", remote.ArtistMetadata.Value.ForeignArtistId);
var newArtist = _artistService.FindById(remote.ArtistMetadata.Value.ForeignArtistId); var newArtist = _artistService.FindById(remote.ArtistMetadata.Value.ForeignArtistId);
@ -130,7 +130,8 @@ namespace NzbDrone.Core.Music
Monitored = oldArtist.Monitored, Monitored = oldArtist.Monitored,
Tags = oldArtist.Tags Tags = oldArtist.Tags
}; };
_logger.Debug($"Adding missing parent artist {addArtist}");
_logger.Info("Adding missing parent artist {0}", addArtist);
_addArtistService.AddArtist(addArtist); _addArtistService.AddArtist(addArtist);
} }
} }

Loading…
Cancel
Save