Let the command output to log file