What\'s the advantage of log4j over set System.out and System.err to output to a log file?
log4j
System.out
System.err
Levels, formatting, logging to multiple files... A logging framework (even if it's java.util.logging) is really beneficial if there's a chance anything may go wrong while your code is running.