Switch everything to log4j

Log4j has a nicer API and is easier to configure.