if (artifact.getUrl() != null) { logArtifactAttempt(artifact, artifact.getUrl().toString());
if (used.getUrl() != null) { logArtifactAttempt(artifact, used.getUrl().toString());
    protected void logArtifactNotFound(Artifact artifact) {        if (_artifactPatterns.isEmpty()) {        	if (artifact.getUrl() == null) {        		logArtifactAttempt(artifact, "no artifact pattern => no attempt to find artifact "+artifact);        	}        }        for (Iterator iter = _artifactPatterns.iterator(); iter.hasNext();) {            String pattern = (String)iter.next();            String resolvedFileName = IvyPatternHelper.substitute(pattern, artifact);            logArtifactAttempt(artifact, resolvedFileName);        }    	if (artifact.getUrl() != null) {    		logArtifactAttempt(artifact, artifact.getUrl().toString());    	}    }