This idea is that I want to have output generated by the method printStackTrace() re-directed to a log4j file as an ERROR. Is there a way to do this?
In general how do you allow the stmt System.err.println() or System.out.println() to be outputed to the log4j file
rather than to the Console...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.