users@glassfish.java.net

Re: how to log to syslog from within Glassfish

From: <glassfish_at_javadesktop.org>
Date: Tue, 17 Mar 2009 18:23:48 PDT

Seconded.

The project is JRuby app.

Here's what I am getting in /var/adm/messages :

Mar 18 01:05:17 X.Y.com SJSAS81_server.log: [ID 269455 daemon.warning] [#|2009-03-18T01:05:17.059+0000|WARNING|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=18;_ThreadName=httpWorkerThread-4848-0;_RequestID=86b11b2e-9255-44dd-bd7b-3aa033fbab35;|The log message is null.|#]
Mar 18 01:05:17 X.Y.com SJSAS81_server.log: [ID 510564 daemon.warning] [#|2009-03-18T01:05:17.070+0000|WARNING|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=18;_ThreadName=httpWorkerThread-4848-0;_RequestID=86b11b2e-9255-44dd-bd7b-3aa033fbab35;|The log message is null.|#]

Sun stock GF documentation didn't help much, maybe I didn't hit the right page.

Cheers,

/David
[Message sent by forum member 'dvdklnr' (dvdklnr)]

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