On Thu, 12 Sep 2002 16:36, Leif Mortenson wrote:
> This led me to make the following extremely simple fix:
> ---
> RCS file:
> /home/cvs/jakarta-avalon-excalibur/component/src/java/org/apache/avalon/exc
>alibur/component/Logger2LogKitManager.java,v retrieving revision 1.3
> diff -u -r1.3 Logger2LogKitManager.java
> --- Logger2LogKitManager.java 29 Jul 2002 09:53:40 -0000 1.3
> +++ Logger2LogKitManager.java 12 Sep 2002 06:31:29 -0000
> @@ -36,7 +36,7 @@
> public org.apache.log.Logger getLogger( final String categoryName )
> {
> final Logger logger =
> - m_loggerManager.getLoggerForCategory( categoryName );
> + m_loggerManager.getLoggerForCategory( "" );
> final org.apache.log.Logger logkitLogger =
> getHierarchy().getLoggerFor( categoryName );
> final LogKit2LoggerTarget target =
> ---
>
> This seems to work great for me, but I wanted to check with the author
> (Peter?)
> to make sure that this will also work with other Logger implementations.
> I am
> using the LogKitLoggerManager.
> It this looks Ok, then I will go ahead and commit it.
It looks good to me! Thanks for spotting it ;)
> Figures ... ~4 hours for a 1 line fix :-/
My fault ... oops ;)
--
Cheers,
Peter Donald
Sufficiently advanced science is
indistinguishable from magic"
-- Arthur C. Clarke
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>