Kaynağa Gözat

NTFileSystemAdapter: Minor logging improvement

Tal Aloni 5 yıl önce
ebeveyn
işleme
f9f6132efd

+ 1 - 0
SMBLibrary/NTFileStore/Adapter/NTFileSystemAdapter.cs

@@ -380,6 +380,7 @@ namespace SMBLibrary
 
             if (offset >= stream.Length)
             {
+                Log(Severity.Verbose, "ReadFile: Cannot read from '{0}', offset {1} is out of range.", path, offset);
                 return NTStatus.STATUS_END_OF_FILE;
             }