Stop usage of System.err.println in framework