add logging

This commit is contained in:
Luke Pulverenti
2016-06-30 19:17:49 -04:00
parent edfd04129e
commit 106087b685
9 changed files with 18 additions and 36 deletions

View File

@@ -296,6 +296,8 @@ namespace MediaBrowser.Common.Implementations.HttpClientManager
private async Task<HttpResponseInfo> GetCachedResponse(string responseCachePath, TimeSpan cacheLength, string url)
{
_logger.Info("Checking for cache file {0}", responseCachePath);
try
{
if (_fileSystem.GetLastWriteTimeUtc(responseCachePath).Add(cacheLength) > DateTime.UtcNow)