Hi,
The problem is as follows: formely I used JBoss AS, which uses Log4J for the logging purposes, so one can set up desirable logging pattern, like %C to output the fully qualified class name of the caller issuing the logging request, etc (see
http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html). As I understood - in Glassfish we can change log formatter class:
<blockquote cite="
http://docs.sun.com/app/docs/doc/820-4495/abluj?a=view">
Formatter
Uses UniformLogFormatter to format the records in the log file.
com.sun.enterprise.server.logging.FileandSyslogHandler.formatter=com.
sun.enterprise.server.logging.UniformLogFormatter
</blockquote>
but default formatter's pattern can't be configured and it seems pretty weird (for me).
So, the question: does anybody knows another implementations of the Formatter, which pattern can be configured and which I can use in Glassfish?
[Message sent by forum member 'alexander_kiselyov']
http://forums.java.net/jive/thread.jspa?messageID=482936