summaryrefslogtreecommitdiffstats
path: root/chrome/common/ipc_logging.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/ipc_logging.cc')
-rw-r--r--chrome/common/ipc_logging.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/common/ipc_logging.cc b/chrome/common/ipc_logging.cc
index cb63533..0f49b39 100644
--- a/chrome/common/ipc_logging.cc
+++ b/chrome/common/ipc_logging.cc
@@ -268,8 +268,9 @@ void Logging::Log(const LogData& data) {
}
#elif defined(OS_POSIX)
// On POSIX, for now, we just dump the log to stderr
- fprintf(stderr, "ipc %s %d %s %s %s\n",
+ fprintf(stderr, "ipc %s %d %d %s %s %s\n",
WideToUTF8(data.channel).c_str(),
+ data.routing_id,
data.type,
WideToUTF8(data.flags).c_str(),
WideToUTF8(data.message_name).c_str(),
@@ -305,6 +306,7 @@ void GenerateLogData(const std::wstring& channel, const Message& message,
Logging::GetMessageText(message.type(), &message_name, &message, &params);
data->channel = channel;
+ data->routing_id = message.routing_id();
data->type = message.type();
data->flags = flags;
data->sent = message.sent_time();