logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject cvs commit: logging-log4j/src/java/org/apache/log4j/net SMTPAppender.java
Date Fri, 29 Oct 2004 16:37:16 GMT
ceki        2004/10/29 09:37:16

  Modified:    src/java/org/apache/log4j/net Tag: v1_2-branch
                        SMTPAppender.java
  Log:
  NOTE: 1.2.x BRANCH
  
  More cleaning up, less deprecation warnings.
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.29.2.2  +1 -1      logging-log4j/src/java/org/apache/log4j/net/SMTPAppender.java
  
  Index: SMTPAppender.java
  ===================================================================
  RCS file: /home/cvs/logging-log4j/src/java/org/apache/log4j/net/SMTPAppender.java,v
  retrieving revision 1.29.2.1
  retrieving revision 1.29.2.2
  diff -u -r1.29.2.1 -r1.29.2.2
  --- SMTPAppender.java	12 Jun 2002 13:55:32 -0000	1.29.2.1
  +++ SMTPAppender.java	29 Oct 2004 16:37:16 -0000	1.29.2.2
  @@ -386,6 +386,6 @@
        <code>false</code>. */
     public
     boolean isTriggeringEvent(LoggingEvent event) {
  -    return event.level.isGreaterOrEqual(Level.ERROR);
  +    return event.getLevel().isGreaterOrEqual(Level.ERROR);
     }
   }
  
  
  

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


Mime
View raw message