users@glassfish.java.net

Glassfish logging in netbeans

From: <glassfish_at_javadesktop.org>
Date: Mon, 04 Aug 2008 09:33:18 PDT

Hi,

Not sure this should be posted on the netbeans or the glassfish forum. I'd like to change the log format for the netbeans Glassfish V2 console to be equal to the one in the server.log file.

Right now there is no way to see where a log statement comes from...

logger.info("Login succeeded for user: "+name);

gives me:

Login succeeded for user: admin

but I would like to see:

[#|2008-08-04T17:30:43.035+0200|INFO|sun-appserver9.1|com.lodgon.iis3.servlet.LoginServlet|_ThreadID=21;_ThreadName=httpSSLWorkerThread-8080-2;|Login succeeded for user: admin|#]

or some other format showing thread/class info

Thanks in advance
[Message sent by forum member 'francisdb' (francisdb)]

http://forums.java.net/jive/thread.jspa?messageID=291361