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:
@@ -1278,7 +1278,7 @@ public abstract class LogFactory {
|
|||||||
} catch(SecurityException e) {
|
} catch(SecurityException e) {
|
||||||
classLoaderName = "UNKNOWN";
|
classLoaderName = "UNKNOWN";
|
||||||
}
|
}
|
||||||
diagnosticPrefix = "[LogFactory -> " + classLoaderName + "] ";
|
diagnosticPrefix = "[LogFactory -> " + classLoaderName + "] ";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -474,7 +474,7 @@ public class LogFactoryImpl extends LogFactory {
|
|||||||
} catch(SecurityException e) {
|
} catch(SecurityException e) {
|
||||||
classLoaderName = "UNKNOWN";
|
classLoaderName = "UNKNOWN";
|
||||||
}
|
}
|
||||||
diagnosticPrefix = "[LogFactoryImpl -> " + classLoaderName + "] ";
|
diagnosticPrefix = "[LogFactoryImpl@" + System.identityHashCode(this) + " -> " + classLoaderName + "] ";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user