removes log4j error messages at startup