Adjust log levels
Go Test / test (push) Successful in 1m4s
Details
Go Test / test (push) Successful in 1m4s
Details
This commit is contained in:
parent
be6300829d
commit
3d730054c0
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue