Added ability to specify LogLevel for file output