Looked at it... still don't understand how notifications can be used in
an unobtrusive way as log4j can... but then again I don't fully
understand the details of jmx notifications.
Hrm... you mean something like:
boolean metrics =
support.isNotificationEnabled(MetricsNotification.INSTANCE);
// ...
if (metrics) {
sendMetricsNotification(...);
}
??
--jason
Adrian Brock wrote:
>>JMX notifications
>>david
>>
>
>Have a look at javax.management.NotificationFilterSupport
>
>Regards,
>Adrian
>
>>On 2002.02.24 00:49:38 -0500 Jason Dillon wrote:
>>
>>>I was thinking that logging would be less intrusive
>>>
>>and easier for folks
>>
>>>to enable/disable when then wish... though I agree
>>>
>>that JMX would be
>>
>>>better.
>>>
>>>Can you think of a way to allow this to be
>>>
>>enabled/disabled and have
>>
>>>little effect on performance (on or off) with JMX?
>>>
>>>--jason
>>>
>>>
>>>David Jencks wrote:
>>>
>>>>On 2002.02.24 00:13:41 -0500 Jason Dillon wrote:
>>>>
>>>>>Any thoughts about adding a new priority/level
>>>>>
>>for logging stats and
>>
>>>>>metrics?
>>>>>
>>>>I'd say no, this should be done through jmx not
>>>>
>>logging.
>>
>>>>david jencks
>>>>
>>>>>--jasin
>>>>>
>>>>>
>>>>>_______________________________________________
>>>>>Jboss-development mailing list
>>>>>[EMAIL PROTECTED]
>>>>>
>>>>https://lists.sourceforge.net/lists/listinfo/jboss-d
>>>>
>>velopment
>>
>>>>>
>>>>_______________________________________________
>>>>Jboss-development mailing list
>>>>[EMAIL PROTECTED]
>>>>
>>>https://lists.sourceforge.net/lists/listinfo/jboss-de
>>>
>>elopment
>>
>>>
>>>
>>>_______________________________________________
>>>Jboss-development mailing list
>>>[EMAIL PROTECTED]
>>>
>>https://lists.sourceforge.net/lists/listinfo/jboss-dev
>>lopment
>>
>>>
>>_______________________________________________
>>Jboss-development mailing list
>>[EMAIL PROTECTED]
>>https://lists.sourceforge.net/lists/listinfo/jboss-dev
>>lopment
>>
>
>
>
>_________________________________________________________
>View thread online: http://main.jboss.org/thread.jsp?forum=66&thread=9481
>
>_______________________________________________
>Jboss-development mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/jboss-development
>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development