reduce excess logging

This commit is contained in:
Luke Pulverenti 2016-01-09 12:12:09 -05:00
parent 201833d007
commit 36ca431061

View File

@ -540,13 +540,13 @@ namespace MediaBrowser.Api
}
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);
}
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
{
Logger.Debug("Deleting HLS file {0}", file);
//Logger.Debug("Deleting HLS file {0}", file);
_fileSystem.DeleteFile(file);
}
catch (DirectoryNotFoundException)
@ -592,7 +592,7 @@ namespace MediaBrowser.Api
catch (IOException ex)
{
e = ex;
Logger.ErrorException("Error deleting HLS file {0}", ex, file);
//Logger.ErrorException("Error deleting HLS file {0}", ex, file);
}
}