incubator-yoko-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geir Magnusson Jr <g...@pobox.com>
Subject Re: logging
Date Mon, 13 Mar 2006 19:37:37 GMT


Dain Sundstrom wrote:
> I think projects should avoid logging entirely.  The problem with 
> logging is the information that comes out of it is useless to other 
> software because it is encoded into user readable strings.  IMHO, the 
> best policy is to use a Monitor.  For example see the following XBean 
> Monitors:
> 
> http://svn.apache.org/repos/asf/geronimo/xbean/trunk/xbean-kernel/src/main/java/org/apache/xbean/kernel/ServiceMonitor.javahttp://svn.apache.org/repos/asf/geronimo/xbean/trunk/xbean-kernel/src/main/java/org/apache/xbean/kernel/KernelMonitor.java


I think projects should avoid logging too.  (I'm still hoping someone 
tells me how the orb in Sun's J2SE logs... :)

Question about the monitors.... I'm curious -  why didn't you generalize 
so that you could add more events as needed w/o breaking client software?

geir

Mime
View raw message