diff --git a/Netgen/nglib_addon.cpp b/Netgen/nglib_addon.cpp
index 16339c8460da2454986af483fa403dbc6ff9d3af..8416c0af5520fcb0cc2b9c399edb392195c565fb 100644
--- a/Netgen/nglib_addon.cpp
+++ b/Netgen/nglib_addon.cpp
@@ -50,13 +50,13 @@ class mystreambuf: public streambuf
 // replaces the standard Ng_Init
 void NgAddOn_Init ()
 {
-  mycout = &cout;
-  myerr = &cerr;
-  testout = new ofstream ("test.out");
+  //mycout = &cout;
+  //myerr = &cerr;
+  //testout = new ofstream ("test.out");
 
-  //mycout = new ostream(new mystreambuf());
-  //myerr = new ostream(new mystreambuf());
-  //testout = new ofstream ("/dev/null");
+  mycout = new ostream(new mystreambuf());
+  myerr = new ostream(new mystreambuf());
+  testout = new ofstream ("/dev/null");
 }
 
 // generates volume mesh from surface mesh, without optimization