diff --git a/src/main/groovy/org/codehaus/gant/GantBuilder.java b/src/main/groovy/org/codehaus/gant/GantBuilder.java
index <HASH>..<HASH> 100644
--- a/src/main/groovy/org/codehaus/gant/GantBuilder.java
+++ b/src/main/groovy/org/codehaus/gant/GantBuilder.java
@@ -99,7 +99,7 @@ public class GantBuilder extends AntBuilder {
   @SuppressWarnings ( "unchecked" )
   public BuildLogger getLogger ( ) {
     final List<? extends BuildListener> listeners = getProject ( ).getBuildListeners ( ) ; // Unchecked conversion here.
-    assert listeners.size ( ) == 1 ;
+    assert listeners.size ( ) > 0 ;
     return (BuildLogger) listeners.get ( 0 ) ;
   }
 }
Trying a GMaven build shows that the original assertion was too restrictive.

git-svn-id: <URL>