Today, it is February 14th. However, in Tomcat logs, it is showing 45-Feb-2020.
At school, I learnt there can be at most 31 days in a month.
Please share if you have any idea on this.
Today, it is February 14th. However, in Tomcat logs, it is showing 45-Feb-2020.
At school, I learnt there can be at most 31 days in a month.
Please share if you have any idea on this.
Maybe you configured day in a year instead of a day in a month. See your log4j configuration and change %d{DD-MM-yyyy' 'HH:mm:ss.SSS}
by %d{dd-MM-yyyy' 'HH:mm:ss.SSS}
. Pay attention to the uppercased DD and lowercased dd