adjust some of the logging
This commit is contained in:
@@ -133,7 +133,7 @@ public class FileCacheManager : IDisposable
|
||||
|
||||
public FileCacheEntity? CreateCacheEntry(string path)
|
||||
{
|
||||
Logger.Debug("Creating cache entry for " + path);
|
||||
Logger.Verbose("Creating cache entry for " + path);
|
||||
FileInfo fi = new(path);
|
||||
if (!fi.Exists) return null;
|
||||
var fullName = fi.FullName.ToLowerInvariant();
|
||||
@@ -144,7 +144,7 @@ public class FileCacheManager : IDisposable
|
||||
|
||||
public FileCacheEntity? CreateFileEntry(string path)
|
||||
{
|
||||
Logger.Debug("Creating file entry for " + path);
|
||||
Logger.Verbose("Creating file entry for " + path);
|
||||
FileInfo fi = new(path);
|
||||
if (!fi.Exists) return null;
|
||||
var fullName = fi.FullName.ToLowerInvariant();
|
||||
|
||||
@@ -283,7 +283,7 @@ public class PeriodicFileScanner : IDisposable
|
||||
_fileDbManager.WriteOutFullCsv();
|
||||
}
|
||||
|
||||
Logger.Debug("Scanner validated existing db files");
|
||||
Logger.Verbose("Scanner validated existing db files");
|
||||
|
||||
if (ct.IsCancellationRequested) return;
|
||||
|
||||
@@ -314,7 +314,7 @@ public class PeriodicFileScanner : IDisposable
|
||||
|
||||
Task.WaitAll(dbTasks);
|
||||
|
||||
Logger.Debug("Scanner added new files to db");
|
||||
Logger.Verbose("Scanner added new files to db");
|
||||
|
||||
Logger.Debug("Scan complete");
|
||||
TotalFiles = 0;
|
||||
|
||||
Reference in New Issue
Block a user