aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rpc/server.cpp')
-rw-r--r--src/rpc/server.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rpc/server.cpp b/src/rpc/server.cpp
index ca17d379bc..6fdab2c4cd 100644
--- a/src/rpc/server.cpp
+++ b/src/rpc/server.cpp
@@ -232,6 +232,10 @@ static UniValue getrpcinfo(const JSONRPCRequest& request)
UniValue result(UniValue::VOBJ);
result.pushKV("active_commands", active_commands);
+ const std::string path = LogInstance().m_file_path.string();
+ UniValue log_path(UniValue::VSTR, path);
+ result.pushKV("logpath", log_path);
+
return result;
}