some bugfixes on log4j logger initializers