Adding log file output.