From c5f2c2823e1b8bc1c986648734be4c50f56c747d Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Wed, 18 Mar 2015 13:18:34 -0700 Subject: [PATCH] Separate log messages for hardlinking and copying --- src/NzbDrone.Core/MediaFiles/EpisodeFileMovingService.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/MediaFiles/EpisodeFileMovingService.cs b/src/NzbDrone.Core/MediaFiles/EpisodeFileMovingService.cs index 65e8245e5..8eeea29b1 100644 --- a/src/NzbDrone.Core/MediaFiles/EpisodeFileMovingService.cs +++ b/src/NzbDrone.Core/MediaFiles/EpisodeFileMovingService.cs @@ -73,12 +73,13 @@ public EpisodeFile CopyEpisodeFile(EpisodeFile episodeFile, LocalEpisode localEp var newFileName = _buildFileNames.BuildFileName(localEpisode.Episodes, localEpisode.Series, episodeFile); var filePath = _buildFileNames.BuildFilePath(localEpisode.Series, localEpisode.SeasonNumber, newFileName, Path.GetExtension(localEpisode.Path)); - _logger.Debug("Copying episode file: {0} to {1}", episodeFile, filePath); - if (_configService.CopyUsingHardlinks) { + _logger.Debug("Hardlinking episode file: {0} to {1}", episodeFile, filePath); return TransferFile(episodeFile, localEpisode.Series, localEpisode.Episodes, filePath, TransferMode.HardLinkOrCopy); } + + _logger.Debug("Copying episode file: {0} to {1}", episodeFile, filePath); return TransferFile(episodeFile, localEpisode.Series, localEpisode.Episodes, filePath, TransferMode.Copy); }