Skip to content

How to change log settings for writing to a log file #62

@jovana

Description

@jovana

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions