aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-05-08 14:12:55 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-05-08 14:12:55 -0400
commita0dfbdfd70fe85fca64b341b6fe30708e9a9ebe9 (patch)
tree930733b33ffab6788bc6b9187420cf69f8b7a56e
parentbeafdb27f9e15e30120e872c017aa6eb267e6d7f (diff)
Add file lock logging message
-rw-r--r--MediaBrowser.Server.Implementations/IO/DirectoryWatchers.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/IO/DirectoryWatchers.cs b/MediaBrowser.Server.Implementations/IO/DirectoryWatchers.cs
index beeb1c181..b9b2b560b 100644
--- a/MediaBrowser.Server.Implementations/IO/DirectoryWatchers.cs
+++ b/MediaBrowser.Server.Implementations/IO/DirectoryWatchers.cs
@@ -23,7 +23,7 @@ namespace MediaBrowser.Server.Implementations.IO
/// <summary>
/// The file system watchers
/// </summary>
- private ConcurrentDictionary<string, FileSystemWatcher> _fileSystemWatchers = new ConcurrentDictionary<string,FileSystemWatcher>(StringComparer.OrdinalIgnoreCase);
+ private readonly ConcurrentDictionary<string, FileSystemWatcher> _fileSystemWatchers = new ConcurrentDictionary<string,FileSystemWatcher>(StringComparer.OrdinalIgnoreCase);
/// <summary>
/// The update timer
/// </summary>
@@ -424,6 +424,7 @@ namespace MediaBrowser.Server.Implementations.IO
//still being written to
//or being processed by another thread
//or does not exist (has already been processed)
+ Logger.Debug("{0} is locked.", path);
return true;
}
}