log4j version change and web registration exception handling