Reverting to the stable 1.2 release of log4j.
Tidying up logging.