[jboss-cvs] apache/commons-logging/src/java/org/apache/commons/logging/impl ...

Scott Stark scott.stark at jboss.com
Sun Feb 11 15:24:21 EST 2007


  User: starksm 
  Date: 07/02/11 15:24:21

  Modified:    commons-logging/src/java/org/apache/commons/logging/impl 
                        Tag: JBoss_Apache_Common_Logging_Branch_1_1
                        LogFactoryImpl.java
  Log:
  Add a logRawDiagnostic(String msg, Throwable t)
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.2.4.1   +4 -4      apache/commons-logging/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: LogFactoryImpl.java
  ===================================================================
  RCS file: /cvsroot/jboss/apache/commons-logging/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java,v
  retrieving revision 1.2
  retrieving revision 1.2.4.1
  diff -u -b -r1.2 -r1.2.4.1
  --- LogFactoryImpl.java	9 Feb 2007 06:57:15 -0000	1.2
  +++ LogFactoryImpl.java	11 Feb 2007 20:24:21 -0000	1.2.4.1
  @@ -62,7 +62,7 @@
    * @author Craig R. McClanahan
    * @author Richard A. Sitze
    * @author Brian Stansberry
  - * @version $Revision: 1.2 $ $Date: 2007/02/09 06:57:15 $
  + * @version $Revision: 1.2.4.1 $ $Date: 2007/02/11 20:24:21 $
    */
   
   public class LogFactoryImpl extends LogFactory {
  @@ -1281,10 +1281,10 @@
                                          Throwable discoveryFlaw) {
           
           if (isDiagnosticsEnabled()) {
  -            logDiagnostic("Could not instantiate Log '"
  +           logRawDiagnostic("Could not instantiate Log '"
                         + logAdapterClassName + "' -- "
                         + discoveryFlaw.getClass().getName() + ": "
  -                      + discoveryFlaw.getLocalizedMessage());       
  +                      + discoveryFlaw.getLocalizedMessage(), discoveryFlaw);
           }
           
           if (!allowFlawedDiscovery) {
  
  
  



More information about the jboss-cvs-commits mailing list