Changed log file output and path, and some logging messages