Log4j reimplemented, removed some unused methods