posted 21 years ago
Following is the extract from the log4j docs.
Calling the getLogger method with the same name will always return a reference to the exact same logger object
For example, in
Logger x = Logger.getLogger("wombat");
Logger y = Logger.getLogger("wombat");
x and y refer to exactly the same logger object.
Any one knows how they are retrieving the same object without using the reference. Do they store the reference in some other place ?
Hari
[ January 21, 2003: Message edited by: Hari babu ]