1
0

Added instance OID to prefix for LogFactoryImpl. This allows cross-referencing to details such as the TCCL managed by the instance.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@377196 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Burrell Donkin
2006-02-12 16:09:43 +00:00
parent b86aad5988
commit 5d48ac1008
2 changed files with 2 additions and 2 deletions

View File

@@ -1278,7 +1278,7 @@ public abstract class LogFactory {
} catch(SecurityException e) {
classLoaderName = "UNKNOWN";
}
diagnosticPrefix = "[LogFactory -> " + classLoaderName + "] ";
diagnosticPrefix = "[LogFactory -> " + classLoaderName + "] ";
}
/**

View File

@@ -474,7 +474,7 @@ public class LogFactoryImpl extends LogFactory {
} catch(SecurityException e) {
classLoaderName = "UNKNOWN";
}
diagnosticPrefix = "[LogFactoryImpl -> " + classLoaderName + "] ";
diagnosticPrefix = "[LogFactoryImpl@" + System.identityHashCode(this) + " -> " + classLoaderName + "] ";
}