remove stuff incompatible with slf4j based log4j