ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | architecture List | April 2005 Index

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

Re: [architecture] Retrieve filename of the logging files through JMX


Hi,

georges.goebel@xxxxxxxx wrote:
Hi,

Is it possible to retrieve the filename used by monolog through the new JMX 
interface ?
I quickly stepped through the MBeans and did not find this possibility. I 
only found the possibility to change the log level on the fly through JMX 
which is a great feature.

I also have an other feature in mind where I would appreciate some comments.

Isn't it imaginable to have the possibility to register a 
notificationListener to monolog (on a remote machine) and when monolog logs 
an event of a specified level (DEBUG, WARN, ...), monolog notifies the remote 
registered component with the message.


I don't know if it could be made with monolog, but IBM use this way to
notify an autononomic manager when an error occur in the environement.

IBM autonomic computing toolkit use a GLA ( generic log adapter
)component to transform a log file in a set of Generic Event ( XML ).
Then they send event to the autonomic manager. ( you can see this in a
demo about autonomic computing ( basic self-healing of a web application )).

An idea is to send event to a topic and subscribe your remote component
to the topic ( you can filter the level of the event ).

Clément Escoffier






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

Reply via email to:

Powered by MHonArc.

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