From f5f82c461f39ce27c2b2a4c2d3310122576e408f Mon Sep 17 00:00:00 2001 From: Torsten Dreyer <torsten@ลง3r.de> Date: Wed, 11 Mar 2015 22:28:23 +0100 Subject: [PATCH] RunUriHandler: add some INFO logging for the requests --- src/Network/http/RunUriHandler.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Network/http/RunUriHandler.cxx b/src/Network/http/RunUriHandler.cxx index 09252fdfd..1b3f7005c 100644 --- a/src/Network/http/RunUriHandler.cxx +++ b/src/Network/http/RunUriHandler.cxx @@ -47,6 +47,8 @@ bool RunUriHandler::handleRequest( const HTTPRequest & request, HTTPResponse & r cJSON * json = cJSON_Parse( request.Content.c_str() ); JSON::toProp( json, args ); + SG_LOG( SG_NETWORK, SG_INFO, "RunUriHandler("<< request.Content << "): command='" << command << "', arg='" << JSON::toJsonString(false,args,5) << "'"); + cJSON_Delete( json ); if ( globals->get_commands()->execute(command.c_str(), args) ) { response.Content = "ok.";