diff --git a/SMBLibrary/NTFileStore/Adapter/NTFileSystemAdapter.cs b/SMBLibrary/NTFileStore/Adapter/NTFileSystemAdapter.cs index fd82cc1..4ef304c 100644 --- a/SMBLibrary/NTFileStore/Adapter/NTFileSystemAdapter.cs +++ b/SMBLibrary/NTFileStore/Adapter/NTFileSystemAdapter.cs @@ -283,6 +283,7 @@ namespace SMBLibrary FileHandle fileHandle = (FileHandle)handle; if (fileHandle.Stream != null) { + Log(Severity.Debug, "CloseFile: Closing '{0}'.", fileHandle.Path); fileHandle.Stream.Close(); } @@ -290,6 +291,7 @@ namespace SMBLibrary { try { + Log(Severity.Debug, "CloseFile: Deleting '{0}'.", fileHandle.Path); m_fileSystem.Delete(fileHandle.Path); } catch @@ -382,7 +384,7 @@ namespace SMBLibrary EventHandler handler = OnLogEntry; if (handler != null) { - handler(this, new LogEntry(DateTime.Now, severity, "NT FileSystem", message)); + handler(this, new LogEntry(DateTime.Now, severity, "NT FileSystem Adapter", message)); } }