mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(logging): removed db connection string from being printed in logs at app startup, fixes #2488
This commit is contained in:
@@ -136,7 +136,7 @@ func getEngine() (*xorm.Engine, error) {
|
|||||||
return nil, fmt.Errorf("Unknown database type: %s", DbCfg.Type)
|
return nil, fmt.Errorf("Unknown database type: %s", DbCfg.Type)
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Info("Database: %v, ConnectionString: %v", DbCfg.Type, cnnstr)
|
log.Info("Database: %v", DbCfg.Type)
|
||||||
|
|
||||||
return xorm.NewEngine(DbCfg.Type, cnnstr)
|
return xorm.NewEngine(DbCfg.Type, cnnstr)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user