Adding a workaround for #614
Adds log-file and log-file-level command line args