modified: main_dc/yalarba/api_es/internal/database/psql_db.go
Replace log to zapLogg
This commit is contained in:
@@ -35,7 +35,7 @@ func NewPostgresConnection(cfg *config.Config) (*gorm.DB, error) {
|
|||||||
zapLogger.Info("Fill init data")
|
zapLogger.Info("Fill init data")
|
||||||
SeedInitialData(db)
|
SeedInitialData(db)
|
||||||
|
|
||||||
log.Println("Successfully connected to database")
|
zapLogger.Info("Successfully connected to database")
|
||||||
return db, nil
|
return db, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user