mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 19:47:21 +01:00
adjust some of the logging
This commit is contained in:
parent
d6a434b2f0
commit
9df89adac8
6 changed files with 8 additions and 7 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue