Can have only one instance of Log4J that is referenced as singleton object, and also to have information in logger what is the name of calling class. The problem is that once Logger is instantiated it keeps in category instance information of the first class that calls get instance method. All subsequent classes that are refencing the same logger will not be identified in log file - instead log will show the name of the first calling class.
Question is how to use logger when it is called from servlets and other java classes that are referencing the same singleton logging object?
 
Thanks
Goran

Reply via email to