reduce excess logging

This commit is contained in:
Luke Pulverenti 2016-01-09 12:12:09 -05:00
parent 3790eff69e
commit 61c2048555

View file

@ -540,13 +540,13 @@ namespace MediaBrowser.Api
} }
catch (IOException ex) catch (IOException ex)
{ {
Logger.ErrorException("Error deleting partial stream file(s) {0}", ex, path); //Logger.ErrorException("Error deleting partial stream file(s) {0}", ex, path);
DeletePartialStreamFiles(path, jobType, retryCount + 1, 500); DeletePartialStreamFiles(path, jobType, retryCount + 1, 500);
} }
catch (Exception ex) catch (Exception ex)
{ {
Logger.ErrorException("Error deleting partial stream file(s) {0}", ex, path); //Logger.ErrorException("Error deleting partial stream file(s) {0}", ex, path);
} }
} }
@ -578,7 +578,7 @@ namespace MediaBrowser.Api
{ {
try try
{ {
Logger.Debug("Deleting HLS file {0}", file); //Logger.Debug("Deleting HLS file {0}", file);
_fileSystem.DeleteFile(file); _fileSystem.DeleteFile(file);
} }
catch (DirectoryNotFoundException) catch (DirectoryNotFoundException)
@ -592,7 +592,7 @@ namespace MediaBrowser.Api
catch (IOException ex) catch (IOException ex)
{ {
e = ex; e = ex;
Logger.ErrorException("Error deleting HLS file {0}", ex, file); //Logger.ErrorException("Error deleting HLS file {0}", ex, file);
} }
} }