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_at_pureperfect.com" <jcfolsom_at_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_at_glassfish.dev.java.net For additional
> commands, e-mail: users-help_at_glassfish.dev.java.net