change logging to log4js