Explicit capture of shell command to log file.