Switched to Log4J2 logging instead of System.err