converted to log4j