1
0
mirror of https://github.com/beego/bee.git synced 2024-11-24 23:30:55 +00:00

Update loggging information on bee migrate

This commit is contained in:
cjereme 2019-03-07 22:14:52 -08:00
parent 36a17c40b0
commit 0f9b9ea345

View File

@ -104,7 +104,8 @@ func RunMigration(cmd *commands.Command, args []string) int {
}
beeLogger.Log.Infof("Using '%s' as 'driver'", mDriver)
beeLogger.Log.Infof("Using '%s' as 'conn'", mConn)
//Log sensitive connection information only when DEBUG is set to true.
beeLogger.Log.Debugf("Conn: %s", utils.FILE(), utils.LINE(), mConn)
beeLogger.Log.Infof("Using '%s' as 'dir'", mDir)
driverStr, connStr, dirStr := string(mDriver), string(mConn), string(mDir)