users@glassfish.java.net

Configuring GlassFish logging format?

From: <forums_at_java.net>
Date: Fri, 2 Mar 2012 03:29:48 -0600 (CST)

Hello,

the default logging format of GlassFish is very annoying, it's much too long!

[code][#|2012-03-02T09:22:03.165+0100|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=113;_ThreadName=AWT-EventQueue-0;|[/code]

is just a horrible default IMO. The docs just explain all the fields, but not
how to change the format:
http://docs.oracle.com/cd/E18930_01/html/821-2416/abluk.html

Note, that I deploy SLF4J along with my webapp which should pick up the
format as well.

*How do you change the format?*

The links here are outdated:
http://stackoverflow.com/questions/3880452/install-log-formater-in-glassfish

The question here hasn't been answered:
http://stackoverflow.com/questions/9186682/how-to-configure-glassfish-logging-to-show-milliseconds-in-timestamps

The posting here resulted in nothing:
http://www.java.net/forum/topic/glassfish/glassfish/cant-seem-configure-glassfish-logging-format

It looks like GlassFish logging configuration is an issue of its own! *Can
anybody help?*

Karsten

 


--
[Message sent by forum member 'kwutzke']
View Post: http://forums.java.net/node/883951