Skip to content

Commit 12a990d

Browse files
authored
Update README.md
Signed-off-by: racket2000 <[email protected]>
1 parent 4686b08 commit 12a990d

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

lib/bitcoin-core/README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,18 +295,26 @@ curl --user "$BTC_RPC_AUTH" \
295295

296296
Keep your node healthy by monitoring logs and configurations:
297297

298-
- Check recent logs:
298+
- Check recent Bitcoin logs:
299299
```
300300
sudo docker logs -f --tail 100 bitcoind
301301
```
302+
303+
- Check first 100 Bitcoin logs:
304+
```
305+
306+
sudo docker logs bitcoind | head -n 100
307+
```
308+
302309
- View the configuration file:
303310
```
304-
cat /home/bitcoin/.bitcoin/bitcoin.conf
311+
sudo docker exec -it cat /home/bitcoin/.bitcoin/bitcoin.conf
305312
```
306313
- View user data logs:
307314
```
308315
sudo cat /var/log/cloud-init-output.log
309316
```
317+
310318

311319
---
312320

0 commit comments

Comments
 (0)