Index: remoting/signaling/xmpp_signal_strategy.cc |
diff --git a/remoting/signaling/xmpp_signal_strategy.cc b/remoting/signaling/xmpp_signal_strategy.cc |
index 4e25ccbf9fe0f2160c7760d7a5ccc47dd8c64d86..551f32afb82582f8e5406fd57934f2ec4bf2d386 100644 |
--- a/remoting/signaling/xmpp_signal_strategy.cc |
+++ b/remoting/signaling/xmpp_signal_strategy.cc |
@@ -259,6 +259,9 @@ void XmppSignalStrategy::Core::SetAuthInfo(const std::string& username, |
} |
void XmppSignalStrategy::Core::SendMessage(const std::string& message) { |
+ HOST_LOG(INFO) << "============= Outgoing Stanza =========================="; |
+ HOST_LOG(INFO) << message; |
+ |
DCHECK(thread_checker_.CalledOnValidThread()); |
DCHECK(tls_state_ == TlsState::NOT_REQUESTED || |
tls_state_ == TlsState::CONNECTED); |
@@ -347,7 +350,8 @@ void XmppSignalStrategy::Core::OnMessageSent() { |
void XmppSignalStrategy::Core::OnStanza( |
const std::unique_ptr<buzz::XmlElement> stanza) { |
DCHECK(thread_checker_.CalledOnValidThread()); |
- |
+ HOST_LOG(INFO) << "============= Incoming Stanza =========================="; |
+ HOST_LOG(INFO) << stanza->Str(); |
base::ObserverListBase<Listener>::Iterator it(&listeners_); |
for (Listener* listener = it.GetNext(); listener; listener = it.GetNext()) { |
if (listener->OnSignalStrategyIncomingStanza(stanza.get())) |