Better logging for Application Indexer updating

This commit is contained in:
Qstick
2021-04-24 16:41:17 -04:00
parent 4bc7e4c7cc
commit 8b87795c36
4 changed files with 8 additions and 8 deletions

View File

@@ -87,7 +87,7 @@ namespace NzbDrone.Core.Applications.Sonarr
public override void UpdateIndexer(IndexerDefinition indexer)
{
_logger.Debug("Updating indexer {0}[{1}]", indexer.Name, indexer.Id);
_logger.Debug("Updating indexer {0} [{1}]", indexer.Name, indexer.Id);
var appMappings = _appIndexerMapService.GetMappingsForApp(Definition.Id);
var indexerMapping = appMappings.FirstOrDefault(m => m.IndexerId == indexer.Id);
@@ -107,7 +107,7 @@ namespace NzbDrone.Core.Applications.Sonarr
}
else
{
_logger.Debug("Remote indexer not found, re-adding indexer to Sonarr");
_logger.Debug("Remote indexer not found, re-adding {0} to Sonarr", indexer.Name);
sonarrIndexer.Id = 0;
var newRemoteIndexer = _sonarrV3Proxy.AddIndexer(sonarrIndexer, Settings);