change logger to log4j