Currently when launching `bitcoind` with `-debug=rpc` the log is rather sparse, e.g. `ThreadRPCServer method=validateaddres`. If possible I'd like it to show the origin IP.
UniValue valRequest;
        if (!valRequest.read(req->ReadBody()))
            throw JSONRPCError(RPC_PARSE_ERROR, "Parse error");
        
        jreq.URI = req->GetURI();
        std::string strReply;
        
        if (valRequest.isObject()) {
            jreq.parse(valRequest);
            UniValue result = tableRPC.execute(jreq);
            
            strReply = JSONRPCReply(result, NullUniValue, jreq.id);
        
        } else if (valRequest.isArray())
            strReply = JSONRPCExecBatch(jreq, valRequest.get_array());
        else
            throw JSONRPCError(RPC_PARSE_ERROR, "Top-level object parse error");
        req->WriteHeader("Content-Type", "application/json");
        req->WriteReply(HTTP_OK, strReply);
    } catch (const UniValue& objError) {
        JSONErrorReply(req, objError, jreq.id);
        return false;
    } catch (const std::exception& e) {
        JSONErrorReply(req, JSONRPCError(RPC_PARSE_ERROR, e.what()), jreq.id);
        return false;
    }
    return true;
}
static bool InitRPCAuthentication()