summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2016-08-27 19:24:38 +0100
committerJose Fonseca <jfonseca@vmware.com>2016-08-27 19:24:38 +0100
commit215515ee810d1bd5af408744365870437a75b700 (patch)
tree24b0667ca992d96ef415f833db77236810ad36df /lib
parent7e97bcb79eb6f83bc6a08b925dd70c3e38948ba1 (diff)
trace: Rewrite flush log messages.
Don't explicitly mention exceptions.
Diffstat (limited to 'lib')
-rw-r--r--lib/trace/trace_writer_local.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/trace/trace_writer_local.cpp b/lib/trace/trace_writer_local.cpp
index 79ff962b..aed1ca78 100644
--- a/lib/trace/trace_writer_local.cpp
+++ b/lib/trace/trace_writer_local.cpp
@@ -227,14 +227,14 @@ void LocalWriter::flush(void) {
mutex.lock();
if (acquired) {
- os::log("apitrace: ignoring exception while tracing\n");
+ os::log("apitrace: ignoring recurrent flush\n");
} else {
++acquired;
if (m_file) {
if (os::getCurrentProcessId() != pid) {
- os::log("apitrace: ignoring exception in child process\n");
+ os::log("apitrace: ignoring flush in child process\n");
} else {
- os::log("apitrace: flushing trace due to an exception\n");
+ os::log("apitrace: flushing trace\n");
m_file->flush();
}
}