logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From psm...@apache.org
Subject cvs commit: jakarta-log4j/src/java/org/apache/log4j/chainsaw ChainsawAppenderHandler.java
Date Mon, 22 Sep 2003 06:54:36 GMT
psmith      2003/09/21 23:54:36

  Modified:    src/java/org/apache/log4j/chainsaw
                        ChainsawAppenderHandler.java
  Log:
  Fixed bug where the tab identified had a leading - which was
  redundant.
  
  Revision  Changes    Path
  1.7       +3 -1      jakarta-log4j/src/java/org/apache/log4j/chainsaw/ChainsawAppenderHandler.java
  
  Index: ChainsawAppenderHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/chainsaw/ChainsawAppenderHandler.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ChainsawAppenderHandler.java	14 Sep 2003 23:47:26 -0000	1.6
  +++ ChainsawAppenderHandler.java	22 Sep 2003 06:54:36 -0000	1.7
  @@ -251,7 +251,9 @@
       String appname = e.getProperty(ChainsawConstants.LOG4J_APP_KEY);
   
       if (appname != null) {
  -      ident.append("-");
  +      if(ident.length()>0){
  +          ident.append("-");
  +      }
         ident.append(appname);
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org


Mime
View raw message