X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/2c8167e46c6417e44eb1697ff42c869213b8f1bd..79dada2bcf873731ed4e78cfed64d8274fb5c587:/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);