Outputs log when executing commands