commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John McNally <jmcna...@collab.net>
Subject Re: [LOGGING] ClassLoader Problems
Date Mon, 22 Apr 2002 17:58:16 GMT
  It does not seem that static factory methods like
> Log.getLogger(String) or Category.getInstance(String) are the best way
> to invoke logging within a component meant to be used within a larger
> system.
> 

I should say it might not be a bad way to invoke the logger, but
hardcoding the String key to be the classname where the logger is used
appears to be a bad choice.  A component needs to have a way to allow
the system using the component to override the region/category.

john mcnally

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message