I'm using the standard ConsoleHandler from java.util.logging and by default the console output is directed to the error stream (i.e. System.err).
How do I change the console output to the output stream (i.e. System.out)?
I've arrived at
 SimpleFormatter fmt = new SimpleFormatter();  StreamHandler sh = new StreamHandler(System.out, fmt);  logger.addHandler(sh); 
                        If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With