Added more spec for logger ConnectCommand.
Replace console and util with centralize log.
Replace more log with centralize log.