From 3fa3ffa952527ae5a78a19315b3ce30a4f5fbd9b Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Wed, 6 Mar 2013 21:34:17 -0800 Subject: [PATCH] Log the IP we get commands from. --- src/cpp/ripple/WSHandler.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cpp/ripple/WSHandler.h b/src/cpp/ripple/WSHandler.h index 81011b24b5..fded317627 100644 --- a/src/cpp/ripple/WSHandler.h +++ b/src/cpp/ripple/WSHandler.h @@ -167,7 +167,9 @@ public: Json::Value jvRequest; Json::Reader jrReader; - cLog(lsDEBUG) << "Ws:: Receiving '" << mpMessage->get_payload() << "'"; + cLog(lsDEBUG) << "Ws:: Receiving(" + << cpClient->get_socket().lowest_layer().remote_endpoint().address().to_string() + << ") '" << mpMessage->get_payload() << "'"; if (mpMessage->get_opcode() != websocketpp::frame::opcode::TEXT) {