change logging to log4j