# HG changeset patch # User Björn Ricks # Date 1349352162 -7200 # Node ID 721d55bdab9eabc7ecffd4e4d4ebbd573f5ec995 # Parent 62d99de39a8dcf0b570b81d96221bddafff9298d Add warning if no compatible facet is found This log info would have saved much of my time if it had been present. diff -r 62d99de39a8d -r 721d55bdab9e flys-artifacts/ChangeLog --- a/flys-artifacts/ChangeLog Thu Oct 04 13:59:03 2012 +0200 +++ b/flys-artifacts/ChangeLog Thu Oct 04 14:02:42 2012 +0200 @@ -1,3 +1,8 @@ +2012-10-01 Björn Ricks + + * src/main/java/de/intevation/flys/collections/AttributeWriter.java: + Add warning if no compatible facet is found. + 2012-10-01 Björn Ricks * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: diff -r 62d99de39a8d -r 721d55bdab9e flys-artifacts/src/main/java/de/intevation/flys/collections/AttributeWriter.java --- a/flys-artifacts/src/main/java/de/intevation/flys/collections/AttributeWriter.java Thu Oct 04 13:59:03 2012 +0200 +++ b/flys-artifacts/src/main/java/de/intevation/flys/collections/AttributeWriter.java Thu Oct 04 14:02:42 2012 +0200 @@ -184,10 +184,12 @@ } if (!compatibleFacets.contains(facet.getName())) { - //logger.debug("Have incompatible facet, skip: " + facet.getName()); + logger.warn("Have incompatible facet, skip: " + facet.getName()); continue; } - //else logger.debug("Have compatible facet: " + facet.getName()); + else { + logger.debug("Have compatible facet: " + facet.getName()); + } ManagedFacet picked = pickFacet(facet, oldFacets);