diff --git a/contrib/Netgen/nglib_gmsh.cpp b/contrib/Netgen/nglib_gmsh.cpp
index 4af5637139e281b3068ba8690c2bb2b9a3df69e1..9b88523a6dba3ceba424bf77ac85143559ab512f 100644
--- a/contrib/Netgen/nglib_gmsh.cpp
+++ b/contrib/Netgen/nglib_gmsh.cpp
@@ -72,7 +72,8 @@ namespace nglib
        //testout = &cout;
        mycout = new ostream(new mystreambuf());
        myerr = new ostream(new mystreambuf());
-       testout = new ostream(new mystreambuf());
+       testout = new ofstream("/dev/null");
+       //testout = new ostream(new mystreambuf());
      }
    }