Here is the one we use: http://svn.apache.org/repos/asf/tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/log/SingleLineFormatter.java
Main issue is logs are not redable with OneLineFormatter (nothing is aligned etc) which is sad since because it is the console logger it is the one used in dev. Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-07-27 19:14 GMT+02:00 Konstantin Kolinko <knst.koli...@gmail.com>: > 2014-07-24 21:15 GMT+04:00 Romain Manni-Bucau <rmannibu...@gmail.com>: >> Hi guys, >> >> just started to play with tomcat 8 and seems default log format changed >> (inline now) >> >> This doesn't seem that readable for me out of the box and wonder if we >> couldn't enhance default logging format to get a shorter and ligned log >> format (xx-yy-zz aa:bb [thread name on 15 chars max] [ class.method on >> 20chars max] message) >> >> Main point is to get everything aligned and not too wide > > The format is provided by "formatter" configured for a handler. > > Tomcat 7 by default uses java.util.logging.SimpleFormatter provided by JRE. > > Tomcat 8 by default uses our own org.apache.juli.OneLineFormatter > > There is no problem in implementing (and contributing) a different > formatter if someone wants. I just do not see a point in mimicking the > JRE one. > > The main benefit of OneLineFormatter for me is that it includes the > thread name into the message. It allows to map it to thread names that > may be logged by access log. > > > Best regards, > Konstantin Kolinko > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org