I wrote a Formatter (test.MyFormatter) by extending the class java.util.logging.Formatter;
Now I want to use test.MyFormatter instead of java.util.logging.SimpleFormatter:
in the configuration file i replaced the entry:
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
with
java.util.logging.ConsoleHandler.formatter = test.MyFormatter
unfortunately this is not working.
can somebody explain me, if what I am doing is:
- correct
- if yes, why it not working?