From: Alex Schmidt Date: Mon, 15 Oct 2012 16:44:28 +0000 (+0200) Subject: ... X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/commitdiff_plain/2c8167e46c6417e44eb1697ff42c869213b8f1bd?hp=931c993776aa8bc41f11d6d676a894324d73a1a3 ... --- diff --git a/writeout.cpp b/writeout.cpp index 9a5409d..54b8203 100644 --- a/writeout.cpp +++ b/writeout.cpp @@ -42,7 +42,8 @@ writeout::writeout(const string& wdir, const string& signature, } else{ buf = cout.rdbuf(); - logbuf = cerr.rdbuf(); + logf.open("/dev/null"); + logbuf = logf.rdbuf(); } out = new ostream(buf); log = new ostream(logbuf);