geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject cvs commit: incubator-geronimo/modules/system/src/java/org/apache/geronimo/system/logging/log4j Log4jService.java
Date Sun, 25 Jul 2004 08:15:35 GMT
djencks     2004/07/25 01:15:35

  Modified:    modules/system/src/java/org/apache/geronimo/system/logging/log4j
                        Log4jService.java
  Log:
  attempt to clarify error message
  
  Revision  Changes    Path
  1.8       +2 -2      incubator-geronimo/modules/system/src/java/org/apache/geronimo/system/logging/log4j/Log4jService.java
  
  Index: Log4jService.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/system/src/java/org/apache/geronimo/system/logging/log4j/Log4jService.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- Log4jService.java	25 Jun 2004 20:48:54 -0000	1.7
  +++ Log4jService.java	25 Jul 2004 08:15:35 -0000	1.8
  @@ -89,7 +89,7 @@
       public Log4jService(final String rootLoggerLevel, final String configurationFile, final
int refreshPeroid, ServerInfo serverInfo) {
           LogFactory logFactory = LogFactory.getFactory();
           if (!(logFactory instanceof GeronimoLogFactory)) {
  -            throw new IllegalStateException("Commons log factory is not a GeronimoLogFactory");
  +            throw new IllegalStateException("Commons log factory: " + logFactory + " is
not a GeronimoLogFactory");
           }
           this.rootLoggerLevel = XLevel.toLevel(rootLoggerLevel);
           this.refreshPeriod = refreshPeroid;
  
  
  

Mime
View raw message