Subclassing java.util.logging.LogManager
807605Oct 11 2007 — edited Oct 12 2007i am trying to subclass the LogManager class and have tried adding the following System property as mentioned in the Java API :-
java.util.logging.manager = CustomLogger
where,
CustomLogger is the name of my subclass of LogManager.
Still, when I ran the program, the instance of the global log manager (java.util.logging.LogManager) is only created. It's not creating the instance of "CustomLogger".
I have tried to give the full package name of the subclass as follows, still it is creating the instance of java.util.logging.LogManager only:-
java.util.logging.manager = com.test.logging.CustomLogger
Any pointers to resolve this issue will be of great help..
~Thanks
Dev