added --log-file option to the command-line