Wladimir J. van der Laan
fbfa2e46ff
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
2018-09-10 15:39:05 +02:00
..
2018-08-29 16:30:58 +02:00
2018-08-16 20:33:50 +02:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-06-25 00:08:49 -04:00
2018-08-30 16:18:36 +02:00
2018-08-09 11:31:45 -04:00
2018-08-30 12:00:28 +02:00
2018-07-27 07:15:02 -04:00
2018-09-05 18:13:05 -04:00
2018-09-06 23:01:50 -04:00
2018-09-06 14:51:07 +02:00
2018-09-04 13:11:26 +02:00
2018-09-08 05:33:16 +02:00
2018-09-05 18:13:05 -04:00
2018-07-27 07:15:02 -04:00
2018-04-13 15:37:20 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-08-27 18:19:33 +02:00
2018-09-10 13:08:25 +02:00
2018-08-27 18:19:33 +02:00
2018-08-24 08:34:38 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-08-28 12:12:32 -07:00
2018-08-25 10:02:37 -07:00
2018-08-25 17:41:00 +02:00
2018-08-13 01:24:55 +02:00
2018-07-27 07:15:02 -04:00
2018-08-14 18:03:43 -05:00
2018-09-04 13:42:42 -04:00
2018-08-08 13:55:27 +02:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-08-13 13:57:15 +02:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-08-23 10:38:59 -07:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-08-13 14:27:40 -04:00
2018-07-27 07:15:02 -04:00
2018-08-13 14:27:40 -04:00
2018-08-25 17:41:00 +02:00
2018-08-27 18:19:33 +02:00
2018-09-04 13:11:26 +02:00
2018-07-27 07:15:02 -04:00
2018-08-29 16:05:51 +02:00
2018-08-29 16:05:51 +02:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-08-13 10:02:50 -04:00
2018-08-11 09:34:47 +03:00
2018-08-31 10:00:38 -04:00
2018-08-20 01:35:55 +01:00
2018-09-10 15:39:05 +02:00
2018-06-25 00:08:49 -04:00
2018-08-27 13:33:04 -04:00
2018-07-27 07:15:02 -04:00
2018-08-13 12:07:20 +02:00
2018-08-13 12:07:20 +02:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-08-29 16:05:00 +02:00
2018-05-02 11:25:20 +02:00
2018-08-25 10:02:37 -07:00
2018-08-25 10:02:37 -07:00
2018-07-24 20:46:23 +01:00
2018-06-06 17:36:53 -04:00
2018-09-08 05:33:16 +02:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-08-08 13:55:27 +02:00
2018-07-27 07:15:02 -04:00
2018-09-04 15:50:08 +02:00
2018-08-26 00:25:28 +02:00
2018-09-04 15:50:08 +02:00
2018-08-31 10:00:38 -04:00
2018-08-08 13:55:27 +02:00
2018-07-27 07:15:02 -04:00
2018-08-28 18:42:53 +02:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-08-24 08:34:38 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-08-27 09:50:13 -07:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-08-31 10:00:38 -04:00
2018-07-27 07:15:02 -04:00
2018-09-03 19:53:56 +02:00
2018-07-24 20:46:23 +01:00
2018-07-27 07:15:02 -04:00
2018-09-04 13:11:26 +02:00
2018-07-27 07:15:02 -04:00
2018-06-25 00:08:49 -04:00
2018-06-25 00:08:49 -04:00
2018-07-27 11:52:18 -07:00
2018-09-04 13:11:26 +02:00
2018-08-31 16:00:38 +02:00
2018-08-31 10:00:38 -04:00
2018-08-31 16:00:38 +02:00
2018-08-31 10:00:38 -04:00
2018-09-02 02:49:30 -04:00
2018-08-27 18:19:33 +02:00
2018-07-27 07:15:02 -04:00
2018-08-08 13:55:27 +02:00
2018-07-27 07:15:02 -04:00
2018-07-27 13:19:03 +02:00
2018-08-08 13:55:27 +02:00
2018-09-04 15:50:08 +02:00
2018-08-29 16:30:58 +02:00
2018-08-13 15:02:38 -04:00
2018-08-14 09:19:47 +00:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-08-25 10:02:37 -07:00
2018-09-06 12:56:10 +02:00
2018-08-29 22:33:33 +02:00
2018-07-17 13:56:21 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-09-04 15:50:08 +02:00
2018-08-28 18:42:27 +02:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-09-04 15:50:08 +02:00
2018-08-31 10:00:38 -04:00
2018-08-26 00:25:28 +02:00
2018-08-26 00:25:28 +02:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-08-08 13:55:27 +02:00