Update logging method and adjust the date text to prevent overlap