Sending stderr to log4j

I'm always surprised that this isn't supported out of the box (at least I don't think it is), but here's a neat little way to send stderr to your log4j log files, etc : Redirecting System.err to log4j. Very useful if you start up Java processes on *NIX and redirect all output to /dev/null. ;-)

Tags :



Add a comment Send a TrackBack