I have a Tomcat 9.0.54 installation that I am using along with Apache Guacamole. My default catalina.out log file format includes only a time and not a date. It looks like this:
04:37:05.132 [http-nio-8080-exec-12] INFO o.a.g.tunnel.TunnelRequestService - User "abc" connected to connection "16".'
I have read online that the right way to update the log format would be to add to conf/logging.properties this line:
org.apache.juli.OneLineFormatter.timeFormat = yyyy-MM-dd HH:mm:ss,SSSZ
... after these existing 3 lines in logging.properties:
java.util.logging.ConsoleHandler.level = FINE
java.util.logging.ConsoleHandler.formatter = org.apache.juli.OneLineFormatter
java.util.logging.ConsoleHandler.encoding = UTF-8
I did this, and my log format continues to be without date after restarting.
My catalina.out does show that the proper logging.properties file is being read on startup. I see no errors.
My Tomcat installation has very little changes from the default. For example, my catalina.properties only adds:
guacamole.home=/local/guacamole
What am I missing!?