ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | architecture List | April 2005 Index

<--  Date Index  --> <--  Thread Index  -->

Re: Re: Re: Re: Retrieve filename of the logging filesthroughJMX


Hi,

I have integrated the "getHandle" in the MBeans in JOnAS, and I am now able 
to get the filename (used by monolog to write in) through jmx (MBean) back.
Thanks a lot for the hint !

For the moment I try to developpe a probe which should analyse the logging of 
JOnAS and send alarms to a central repository. My initial intention was to 
parse the log file for any warnings, errors (depending on the state). But 
this will do a lot of IO operations (File open, file close) which is probably 
slowing down the machine.
So my next idea was to hack the probe between JOnAS and monolog (like an 
interceptor). The probe would not need to open the log file but the probe 
would receive the events and forward them to the writing process and to the 
global repository. As you mentioned you were depevoping some stuff using JMX 
(notification, listeners, ...), that would be perfect.

So should I wait until you have done the contribution of the JMX stuff and is 
it possible to do what I want to do, or should I start with my initial idea 
of parsing the log fine ???

Thanks a lot

Georges Goebel

PS: Sorry I have difficulties with the mailing list to address my mails 
correctly :-(



<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.