avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pro...@apache.org
Subject cvs commit: jakarta-avalon-logkit/src/java/org/apache/log Logger.java
Date Mon, 07 Oct 2002 16:39:03 GMT
proyal      2002/10/07 09:39:02

  Modified:    src/java/org/apache/log Logger.java
  Log:
  If current logger is additive and creating new child,
  make it additive too (otherwise you won't get any log messages)
  
  Revision  Changes    Path
  1.31      +5 -0      jakarta-avalon-logkit/src/java/org/apache/log/Logger.java
  
  Index: Logger.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-logkit/src/java/org/apache/log/Logger.java,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- Logger.java	28 Sep 2002 04:15:04 -0000	1.30
  +++ Logger.java	7 Oct 2002 16:39:02 -0000	1.31
  @@ -477,6 +477,11 @@
           //Create new logger
           final Logger child = new Logger( m_errorHandler, category, null, this );
   
  +        if( m_additivity )
  +        {
  +            child.setAdditivity( true );
  +        }
  +
           //Add new logger to child list
           if( null == m_children )
           {
  
  
  

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


Mime
View raw message