Fixed 24 hour clock to 12 hour clock in the logging