Adjust log levels
All checks were successful
Go Test / test (push) Successful in 1m4s

This commit is contained in:
Fred Boniface 2024-04-14 22:17:44 +01:00
parent be6300829d
commit 3d730054c0

View File

@ -83,7 +83,7 @@ func DeleteCifEntries(deletions []database.DeleteQuery) error {
log.Info("No deletions required")
return nil
}
log.Info("Running deletions against database", zap.Int("count", len(deletions)))
log.Debug("Running deletions against database", zap.Int("count", len(deletions)))
// Prepare deletion tasks
collection := MongoClient.Database(databaseName).Collection(timetableCollection)
@ -115,7 +115,7 @@ func CreateCifEntries(schedules []database.Service) error {
log.Info("No creations required")
return nil
}
log.Info("Running creations against database", zap.Int("count", len(schedules)))
log.Debug("Running creations against database", zap.Int("count", len(schedules)))
collection := MongoClient.Database(databaseName).Collection(timetableCollection)