<p>I found the way. I confirmed the logs are saved as I expected.</p>

<p><strong>bitcoin.conf</strong></p>

<pre><code>debug=mempool
debug=rpc
</code></pre>

CC BY-SA 3.0
2017-12-06T05:33:22.513Z
Another way to enable debug log:  put '-debug=<category>' as the command line parameter of bitcoind, <category> can be coindb, db, mempool, rpc and so on. For example:  bitcoind -debug=rpc
gary
CC BY-SA 3.0
2017-05-27T05:42:37.923Z
2017-05-27T05:42:37.923Z
zono
<p>The debugging from adding <code>debug=rpc</code> to <code>bitcoind.conf</code> is fairly terse:</p>
<pre><code>2023-03-24T11:24:48Z ThreadRPCServer method=getblockchaininfo user=bitcoin
2023-03-24T11:25:02Z ThreadRPCServer method=getblockchaininfo user=bitcoin
2023-03-24T11:25:02Z ThreadRPCServer method=getrawmempool user=bitcoin
2023-03-24T11:25:02Z ThreadRPCServer method=getmempoolentry user=bitcoin
2023-03-24T11:25:02Z ThreadRPCServer method=getmempoolentry user=bitcoin
2023-03-24T11:25:02Z ThreadRPCServer method=getmempoolentry user=bitcoin
2023-03-24T11:25:02Z ThreadRPCServer method=getmempoolentry user=bitcoin
2023-03-24T11:25:02Z ThreadRPCServer method=getmempoolentry user=bitcoin
</code></pre>

CC BY-SA 4.0
2023-03-24T11:43:46.690Z
2023-03-24T11:43:46.690Z
shuckc
<p>How can I enable RPC access debug log on my bitcoind. My application calls some commands to the bitcoind via RPC. I want to see all of RPC accesses with their parameters like command name and caller IP address as well if possible.</p>

<json-rpc>
Debug log for RPC access log
zono
# Debug log for RPC access log

(Asked by: username_0 on 2017-05-26)

How can I enable RPC access debug log on my bitcoind. My application calls some commands to the bitcoind via RPC. I want to see all of RPC accesses with their parameters like command name and caller IP address as well if possible.

**Tags:** json-rpc


---

## 2 answers

### Answer by username_0 on 2017-05-27. Score: 6

I found the way. I confirmed the logs are saved as I expected.
bitcoin.conf
debug=mempool
debug=rpc

> **Comments:**
> **username_1**: Another way to enable debug log:  put '-debug=<category>' as the command line parameter of bitcoind, <category> can be coindb, db, mempool, rpc and so on. For example:  bitcoind -debug=rpc  

---

### Answer by username_2 on 2023-03-24. Score: 1

The debugging from adding debug=rpc to bitcoind.conf is fairly terse:
2023-03-24T11:24:48Z ThreadRPCServer method=getblockchaininfo user=bitcoin
2023-03-24T11:25:02Z ThreadRPCServer method=getblockchaininfo user=bitcoin
2023-03-24T11:25:02Z ThreadRPCServer method=getrawmempool user=bitcoin
2023-03-24T11:25:02Z ThreadRPCServer method=getmempoolentry user=bitcoin
2023-03-24T11:25:02Z ThreadRPCServer method=getmempoolentry user=bitcoin
2023-03-24T11:25:02Z ThreadRPCServer method=getmempoolentry user=bitcoin
2023-03-24T11:25:02Z ThreadRPCServer method=getmempoolentry user=bitcoin
2023-03-24T11:25:02Z ThreadRPCServer method=getmempoolentry user=bitcoin


---

