How to change log settings for writing to a log file
Nobody has claimed this yet.
- Dominant language
- Dockerfile
- Stars
- 107
- Forks
- 39
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I'm running your docker bitcoin node.
The default output is logged to the console (stdout). But I want to log to a log file.
Digging into the ```bitcoin.conf``` options and settings I found the below settings:
```
debuglogfile=/data/.bitcoin/debug.log
debug=1
printtoconsole=0
```
I have also checked this doc: https://www.bitcoinabc.org/doc/0.22.0/man/bitcoind/
This stops output to the console, but also generates no logfiles.
Can you please assist on this how to get the output written to logfiles?
Many thx!
Jo
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the listed bitcoin.conf options and the linked bitcoind documentation. Determine how this Docker image handles stdout and file logging, then document a working configuration whose completion criterion is output appearing in the intended log file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- devops
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100