Added log file output