Adjust log levels
Go Test / test (push) Successful in 1m4s Details

This commit is contained in:
Fred Boniface 2024-04-14 22:17:44 +01:00
parent be6300829d
commit 3d730054c0
1 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ func DeleteCifEntries(deletions []database.DeleteQuery) error {
log.Info("No deletions required") log.Info("No deletions required")
return nil 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 // Prepare deletion tasks
collection := MongoClient.Database(databaseName).Collection(timetableCollection) collection := MongoClient.Database(databaseName).Collection(timetableCollection)
@ -115,7 +115,7 @@ func CreateCifEntries(schedules []database.Service) error {
log.Info("No creations required") log.Info("No creations required")
return nil 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) collection := MongoClient.Database(databaseName).Collection(timetableCollection)