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/joran/util JoranDocument.java
Date Wed, 05 Jan 2005 17:18:00 GMT
ceki        2005/01/05 09:18:00

  Modified:    src/java/org/apache/log4j/joran/util JoranDocument.java
  Log:
  Making JoranDocument conform to the log4j internal logging guidelines.
  
  Revision  Changes    Path
  1.6       +1 -2      logging-log4j/src/java/org/apache/log4j/joran/util/JoranDocument.java
  
  Index: JoranDocument.java
  ===================================================================
  RCS file: /home/cvs/logging-log4j/src/java/org/apache/log4j/joran/util/JoranDocument.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- JoranDocument.java	5 Jan 2005 17:16:11 -0000	1.5
  +++ JoranDocument.java	5 Jan 2005 17:18:00 -0000	1.6
  @@ -147,8 +147,7 @@
           throw (SAXException) e;
         } else if (e instanceof java.io.IOException) {
           // fall back to the default "implementation"
  -        Logger logger = LogManager.getLogger(this.getClass().getName());
  -        logger.error("Default entity resolver threw an IOException", e);
  +        getLogger().error("Default entity resolver threw an IOException", e);
           return null;
         } else {
           // This point should can never be reached.
  
  
  

---------------------------------------------------------------------
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