adjust some of the logging

This commit is contained in:
Stanley Dimant
2022-10-04 14:14:56 +02:00
parent d6a434b2f0
commit 9df89adac8
6 changed files with 8 additions and 7 deletions

View File

@@ -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();

View File

@@ -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;