RunUriHandler: add some INFO logging for the requests
This commit is contained in:
parent
956054afe7
commit
f5f82c461f
1 changed files with 2 additions and 0 deletions
|
@ -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.";
|
||||
|
|
Loading…
Add table
Reference in a new issue