private static String printBody(Object body, String bodyAlternative) {
        
    	body = (bodyAlternative != null ? bodyAlternative : body);
        if (body == null)
            return null;
    	
    	if (body.getClass().isArray() || body instanceof Collection || body instanceof Map)
    		return StringUtil.toString(body, 100); // limit to first 100 elements.

        return body.toString();
    }