aboutsummaryrefslogtreecommitdiff
path: root/doc/README.md
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2018-09-10 15:37:20 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2018-09-10 15:39:05 +0200
commitfbfa2e46ff7387b15c0e231bab00917a8cbbe3e2 (patch)
tree904285950b437b1149159afa8786566e64366d56 /doc/README.md
parentae251fa2aae89acb10b65aafe0b52c48e97b6b00 (diff)
parent946107a68ffce8c586f9f1657fd7d67d075c321e (diff)
downloadbitcoin-fbfa2e46ff7387b15c0e231bab00917a8cbbe3e2.tar.xz
Merge #14057: [Logging] Only log "Using config file PATH_TO_bitcoin.conf" message on startup if conf file exists
946107a68ffce8c586f9f1657fd7d67d075c321e Only log "Using PATH_TO_bitcoin.conf" message on startup if conf file exists. (Alexander Leishman) Pull request description: Currently we log a message indicating that a bitcoin.conf file is being used even if one does not exist. This PR changes the logic to: **If config file does not exist and no -conf flag passed, log:** `Config file: FILE_PATH (not found, skipping)`. Where `FILE_PATH` is the default or the path passed in with the `-conf` flag. **If config file does not exist and -conf flag passed with incorrect path, log warning:** `Warning: The specified config file FILE_PATH does not exist` **If config file exists, log**: `Config file: FILE_PATH` Note: This is a (modified) subset of changes introduced in https://github.com/bitcoin/bitcoin/pull/13761 which creates a default example config file. I think it makes sense to extract this small bit out into a separate PR. Tree-SHA512: be0f0ae6a0c9041e2d6acb54d2563bbcc79786fb2f8bf9a963fe01bc54cd4e388b89079fde1eb79f7f17099776428e5e984bf7107590a3d1ecfc0562dbc6e3f5
Diffstat (limited to 'doc/README.md')
0 files changed, 0 insertions, 0 deletions