users@glassfish.java.net

Re: Custom Log Monitoring

From: Paul <paul_at_nosphere.org>
Date: Thu, 10 Jul 2008 09:39:36 +0200

Le Thursday 10 July 2008 03:41:49 glassfish_at_javadesktop.org, vous avez écrit :
> Yes, we could do it that way but it is a ton more work.
>
> There must be a way to hook into the logging system from within glassfish.
> Anyone? [Message sent by forum member 'profiler' (profiler)]

Hi profiler,

Glassfish logging use java.util.logging so you could write a custom LogHandler
or LogFilter and register it/them in glassfish. This is doable in the web
admin ui under Configuration/Logging.

Regards

Paul