1
0

Added diagnostic logging for security exceptions.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@377202 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Burrell Donkin
2006-02-12 16:39:40 +00:00
parent 5d1fcf3662
commit 7c807d78c7

View File

@@ -846,7 +846,8 @@ public class LogFactoryImpl extends LogFactory {
try {
specifiedClass = System.getProperty(LOG_PROPERTY);
} catch (SecurityException e) {
;
logDiagnostic("No access allowed to system property '" +
LOG_PROPERTY + "' - " + e.getMessage());
}
}
@@ -856,7 +857,8 @@ public class LogFactoryImpl extends LogFactory {
try {
specifiedClass = System.getProperty(LOG_PROPERTY_OLD);
} catch (SecurityException e) {
;
logDiagnostic("No access allowed to system property '" +
LOG_PROPERTY_OLD + "' - " + e.getMessage());
}
}