Changes System.out.println to SanitizedLogger.error