On 28.04.2013 16:01, Konstantin Kolinko wrote:
> 2. Maybe change default logging configuration to use OneLineFormatter.
> It will give us thread names in the log,
> 
> Alternatively, there appears to be a way to customize the pattern used
> by SimpleFormatter
> http://tomcat.markmail.org/thread/dxvweaxzkgwjymai
> ("Cannot apply simpleformtatter pattern to catalina.sh" thread from Jan 2013)

The format customization added in Java 7 for SimpleFormatter is somehow
limitted:

http://docs.oracle.com/javase/7/docs/api/java/util/logging/SimpleFormatter.html

The data from which you can choose is "date, source, logger, level,
message, thrown", so current thread name doesn't seem to be an option.

Regards,

Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to