Purpose
Improve logging by allowing output to be redirected to a named file.
Method
- Include a
--log-file PATH to the command line parameters.
- If a logfile is specified, no logging output should be sent to stderr or stdout, unless
--log-console is also specified.