Log file configuration fixed

The log file configuration wasn't working and on closer inspection the correct value wasn't being set