Refactor to make more sense. Layouts now a part of Appenders, like log4j, logger hierarchy does the right thing, test now tests log output using mock appender.