I missed this response, sorry.
The ConsoleAppender approach logs everything at INFO level, even If the original message was DEBUG level, loosing context for the Glassfish log tooling.
So, the JDK14Appender is still warranted and useful.
/Thorbjørn
From: logback-user-bounces@qos.ch [mailto:logback-user-bounces@qos.ch] On Behalf Of cinhtau
Sent: 9. februar 2011 17:23
To: logback-user@qos.ch
Subject: Re: [logback-user] JDK14Appender for logback: Anybody written one?
Thorbjørn Ravn Andersen-4 wrote:
In other words, I need a JDK14Appender for logback.
This is not necessary. You can define an ConsoleAppender. Everything that points to Console is automatically directed in Glassfish to java.util.logging and server.log. Just add ConsoleAppender and you should accomplish your objective.
View this message in context: Re: JDK14Appender for logback: Anybody written one?
Sent from the Logback User mailing list archive at Nabble.com.