-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 PoWah,
On 2/19/2009 8:14 AM, PoWah Wong wrote: > The /usr/tomcat/logs/catalina.out file has these entries: > Feb 18, 2009 8:56:27 PM org.apache.coyote.http11.Http11AprProtocol start > INFO: Starting Coyote HTTP/1.1 on http-8443 > Feb 18, 2009 8:56:27 PM org.apache.catalina.startup.Catalina start > INFO: Server startup in 2377 ms Are these the only log messages with this date format? How about others? I ask because it's possible that these specific log messages have the date format hard-coded into them. > How to convert date from Feb 18, 2009 8:56:27 PM to 2009-02-18 20:56:27? > > I set the files > /opt/axis2-1.2/webapp/WEB-INF/classes/log4j.properties > /usr/local/apache-tomcat-6.0.10/webapps/xmc/WEB-INF/classes/log4j.properties This configures log4j for your application, and does not affect Tomcat. You need to modify CATALINA_BASE/conf/logging.properties in order to affect Tomcat's logging. http://tomcat.apache.org/tomcat-6.0-doc/logging.html - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmdekkACgkQ9CaO5/Lv0PB6fACfRbZe/wpTGjySUQaJ04+tyEWE bFoAn1uFEHUgKcP8qwmhKiXmBM9eXFaR =yZ08 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org