From 2c8167e46c6417e44eb1697ff42c869213b8f1bd Mon Sep 17 00:00:00 2001 From: Alex Schmidt Date: Mon, 15 Oct 2012 18:44:28 +0200 Subject: [PATCH] ... --- writeout.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.39.5