Hi,
I'm trying to figure out a good logging pracise for:
* objects instantiated by factories * objects which are not avalon components
* inner classes in avalon components etc.
The responsibility for creating the objects above are inside avalon components, thus they have access to the logger created for themselves during merlin startup.
<snip/> >
Do you have any other suggestions? How do you handle logging for your non-avalon objects?
use Logger.getChildLogger():
http://avalon.apache.org/framework/api/org/apache/avalon/framework/logger/Logger.html#getChildLogger(java.lang.String)
-- cheers,
- Leo Simons
----------------------------------------------------------------------- Weblog -- http://leosimons.com/ IoC Component Glue -- http://jicarilla.org/ Articles & Opinions -- http://articles.leosimons.com/ ----------------------------------------------------------------------- "We started off trying to set up a small anarchist community, but people wouldn't obey the rules." -- Alan Bennett
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
