log the command attempting to be executed