Improved diagnostic message.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@377231 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -722,8 +722,8 @@ public abstract class LogFactory {
|
||||
} catch(SecurityException ex) {
|
||||
if (isDiagnosticsEnabled()) {
|
||||
logDiagnostic(
|
||||
"Unable to get classloader for class " + clazz
|
||||
+ " due to security restrictions.");
|
||||
"Unable to get classloader for class '" + clazz
|
||||
+ "' due to security restrictions - " + ex.getMessage());
|
||||
}
|
||||
throw ex;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user