updated with junit test to send log event to log4jserver