]> git.treefish.org Git - phys/latlib.git/blobdiff - writeout.cpp
...
[phys/latlib.git] / writeout.cpp
index 54b82038d2bbe491e4dfbcbd3dc9e99a0b07473c..9a5409de4e16e0fdda1e654f2179f6364ef8034d 100644 (file)
@@ -42,8 +42,7 @@ writeout::writeout(const string& wdir, const string& signature,
   }
   else{
     buf = cout.rdbuf();
-    logf.open("/dev/null");
-    logbuf = logf.rdbuf();
+    logbuf = cerr.rdbuf();
   }
   out = new ostream(buf);
   log = new ostream(logbuf);