Making changes to the log file for easier handling