users@glassfish.java.net

Re: jmx alerts

From: REV Tamas <tamas.rev_at_gmail.com>
Date: Tue, 3 Nov 2009 14:40:05 +0100

Hi,

I finally fond it on Jconsole. It's rather a JMX notification than an alarm,
and you can subscribe
to it on jconsole/amx/X-Logging.

Regards,
Tamas

On Mon, Nov 2, 2009 at 3:20 PM, REV Tamas <tamas.rev_at_gmail.com> wrote:

> Hi,
>
> On a GlassFishESB v2.1 production server we'd like to receive some kind of
> alerts every time a SEVERE or WARNING-level
> log is issued. We checked the "Alarm" on Logger setting page, but couldn't
> catch any alarm with jconsole.
>
> Can you please tell us, how to catch them with *any* custom program?
>
> The fallback mechanism would be writing a custom log handler that would use
> the default log handler and would
> generate these alarms for every warning. But that's a hackers solution, I
> don't want to use that unless the other way fails.
>
> Regards,
> Tamas
>