-------- Original Message --------
Subject: Re: Logging in Glassfish 2.1
From: Paulo Reis <casmeiron@gmail.com>
Date: Tue, December 08, 2009 2:00 pm
To: <users@glassfish.dev.java.net>
Re: Logging in Glassfish 2.1 Hi,
You can override the logging.properties (in the boot command line, domain.xml) or you can put the logging.properties in your resource folder and then load and override programmatically (using LogManager) or you can create your own Handler (I rather this way) and add it on your logger.
The last one seems to be more painless and don’t mess up your other applications running on same domain.
Hope this help you,
Cya.
On 12/8/09 1:04 PM, "jcfolsom@pureperfect.com" <jcfolsom@pureperfect.com> wrote:
Hi,
I am trying to change the formatter for com.sun.enterprise.server.logging.FileandSyslogHandler. It doesn't seem to be working. If I set it using the logging.properties file, the server just reverts to using simple handler and if I set it programmatically, it appears to set properly, but it still doesn't get used in the log file and simple handler is used instead.
Any help would be appreciated.
Thanks,
Chris
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net For additional commands, e-mail: users-help@glassfish.dev.java.net