summaryrefslogtreecommitdiff
path: root/base/trace.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/trace.cc')
-rw-r--r--base/trace.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/trace.cc b/base/trace.cc
index bc6c9aa7a..1c07e408f 100644
--- a/base/trace.cc
+++ b/base/trace.cc
@@ -98,6 +98,8 @@ Log::append(Record *rec)
// dump record to output stream if there's one open
if (dprintf_stream != NULL) {
rec->dump(*dprintf_stream);
+ } else {
+ rec->dump(cout);
}
// no buffering: justget rid of it now