On Sep 7, 2006, at 6:07 AM, Jeremy Boynes wrote:


Can you point me at the recommended way of logging? I could not immediately find any code that did this.

We need to write logging guidelines I guess. There have been various emails about this, look for MonitorFactory. The basic idea is that to log a component:
* defines a monitoring interface that it will call to emit events
* marks that as a dependency with a @Monitor annotation
* an implementation of that interface is injected by the runtime
* the component makes the calls as needed

Here's a writeup: http://incubator.apache.org/tuscany/monitoring.htm

We've basically externalized logging/monitoring in the runtime.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to