You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by mc...@apache.org on 2002/05/12 16:07:54 UTC

cvs commit: jakarta-avalon-excalibur/merlin/src/java/org/apache/excalibur/merlin ServiceFactory.java

mcconnell    02/05/12 07:07:54

  Modified:    merlin/src/java/org/apache/excalibur/merlin
                        ServiceFactory.java
  Log:
  updated child logger creation to replace "." in role name with "-"
  
  Revision  Changes    Path
  1.4       +1 -1      jakarta-avalon-excalibur/merlin/src/java/org/apache/excalibur/merlin/ServiceFactory.java
  
  Index: ServiceFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/merlin/src/java/org/apache/excalibur/merlin/ServiceFactory.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ServiceFactory.java	12 May 2002 13:41:28 -0000	1.3
  +++ ServiceFactory.java	12 May 2002 14:07:53 -0000	1.4
  @@ -350,7 +350,7 @@
           // assign a logging channel
           //
   
  -        Logger base = logger.getChildLogger( role );
  +        Logger base = logger.getChildLogger( role.replaceAll(".","-") );
           if( object instanceof LogEnabled )
           {
               try
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>