It doesn't matter which logging framework you pick, it will be the wrong one :-) What I mean is that, as a library, you don't get to pick which logging framework the application that is using you chose. This provides a problem where log messages from the library may end up routed separately from the user's messages, or where the user needs to maintain multiple logging configurations.

What we did in the SCA runtime is externalize logging. Any of our components can define a monitor interface that is independent of a logging framework. The runtime (not the user code) provides an implementation of that interface that forwards monitoring events to a logging framework that is provided by the user when they boot the runtime.

There have been a few discussion on the list and I think on the wiki about our Monitoring Framework and MonitorFactory - it might be worth looking for those and see if they would work for DAS.

--
Jeremy

On Aug 15, 2006, at 9:26 AM, Darius Dejesus wrote:

I've been looking at some of the older JIRA's, and upon looking at the way logging was currently handled in the DAS, inconsistent at best, I figured now would be a good time to throw some questions out there. I believe this
falls under Tucsany-292 and Tuscany-441.

As it stands I'm wondering what logging framework would be best for the project. At this point I've been looking at the libraries contained in both org.apache.log4j and those found in java.util.logging. While I'm aware that log4j is more robust, I'm wondering if it's all needed for these purposes. Not having any prior experiences with either of these logging libraries, I'm not clear on any extra overhead or other possible issues they may have.

I'm also curious as to the overall goals of the logging system. I imagine
this is more for the user then for us, so in that case all message,
exceptions and what not should probably be separated and organized in some standard way or place ( some logging/debugging directory perhaps ). Also do any of the other subprojects already have some form of logging in place?
Should we all be using the same standards and files?

Thats all I'm wondering about so far. I appreciate any feedback.

-Darius DeJesus


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

Reply via email to