Browse Source

Update loggging information on bee migrate

pull/586/head
cjereme 1 year ago
parent
commit
0f9b9ea345
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      cmd/commands/migrate/migrate.go

+ 2
- 1
cmd/commands/migrate/migrate.go 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)

Loading…
Cancel
Save