X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/2c8167e46c6417e44eb1697ff42c869213b8f1bd..836ca8cca791128595d9514b6d03a47dc32dd7a4:/writeout.cpp?ds=inline diff --git a/writeout.cpp b/writeout.cpp index 54b8203..9a5409d 100644 --- a/writeout.cpp +++ b/writeout.cpp @@ -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);