Fixing the logging path for the file