Switch System.out.println and System.err.println to logging #3717