diff --git a/src/main/java/no/nibio/vips/model/factory/ModelFactory.java b/src/main/java/no/nibio/vips/model/factory/ModelFactory.java
index 9f293054d7ca0cbd6b3a97a78851e9f82f454e7d..3f5e1bd7e80d05cfcc2922de97ad20818fcaabd7 100755
--- a/src/main/java/no/nibio/vips/model/factory/ModelFactory.java
+++ b/src/main/java/no/nibio/vips/model/factory/ModelFactory.java
@@ -139,10 +139,10 @@ public class ModelFactory {
             reflections = new Reflections(topDomain);
             subTypes.addAll(reflections.getSubTypesOf(Model.class));   
         }*/
-        
+        boolean verboseClassGraph = System.getProperty("no.nibio.vips.core.VERBOSE_CLASSGRAPH") != null && System.getProperty("no.nibio.vips.core.VERBOSE_CLASSGRAPH").equals("true");
         try (ScanResult scanResult =                // Assign scanResult in try-with-resources
         new ClassGraph()                    // Create a new ClassGraph instance
-            .verbose()                      // If you want to enable logging to stderr
+            .verbose(verboseClassGraph)                      // If you want to enable logging to stderr
             .enableClassInfo()            // Scan classes, methods, fields, annotations
             //.acceptPackages("com.xyz")      // Scan com.xyz and subpackages
             .scan()) {                      // Perform the scan and return a ScanResult