add some log level const
change command name and fix code style