Skip to content

🎧 Your Personal Streaming Service

Change initial scan message log level

Deluan1f0314021e5d
diff --git a/cmd/root.go b/cmd/root.go
index 20c4914ef..8d34cda0a 100644
--- a/cmd/root.go
+++ b/cmd/root.go
@@ -133,10 +133,11 @@ func schedulePeriodicScan(schedule string) {
}
time.Sleep(2 * time.Second) // Wait 2 seconds before the initial scan
- log.Info("Executing initial scan")
+ log.Debug("Executing initial scan")
if err := scanner.RescanAll(context.Background(), false); err != nil {
log.Error("Error executing initial scan", err)
}
+ log.Debug("Finished initial scan")
}
func startScheduler() (func() error, func(err error)) {