commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r377202 - /jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java
Date Sun, 12 Feb 2006 16:39:42 GMT
Author: rdonkin
Date: Sun Feb 12 08:39:40 2006
New Revision: 377202

URL: http://svn.apache.org/viewcvs?rev=377202&view=rev
Log:
Added diagnostic logging for security exceptions.

Modified:
    jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java

Modified: jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java?rev=377202&r1=377201&r2=377202&view=diff
==============================================================================
--- jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java
(original)
+++ jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java
Sun Feb 12 08:39:40 2006
@@ -846,7 +846,8 @@
             try {
                 specifiedClass = System.getProperty(LOG_PROPERTY);
             } catch (SecurityException e) {
-                ;
+                logDiagnostic("No access allowed to system property '" + 
+                        LOG_PROPERTY + "' - " + e.getMessage());
             }
         }
 
@@ -856,7 +857,8 @@
             try {
                 specifiedClass = System.getProperty(LOG_PROPERTY_OLD);
             } catch (SecurityException e) {
-                ;
+                logDiagnostic("No access allowed to system property '" + 
+                        LOG_PROPERTY_OLD + "' - " + e.getMessage());
             }
         }
         



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


Mime
View raw message