Fix for issue with shaded log4j