add some logging to command
logging