Change initial scan message log level

This commit is contained in:
Deluan 2021-07-19 16:53:45 -04:00
parent 19c2ef3803
commit 1f0314021e
1 changed files with 2 additions and 1 deletions

View File

@ -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)) {