Removes unnecessary log4j references