Skip to content

Commit 32ec5fc

Browse files
authored
Merge pull request #285 from evoskuil/master
Add parsing for verbose logging.
2 parents e48f0ee + f3dbd2f commit 32ec5fc

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

data/bn.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ maximum_archive_size = 0
1717
maximum_archive_files = 0
1818
# The address of the statistics collection server, defaults to none.
1919
statistics_server = 0.0.0.0:0
20+
# Enable verbose logging, defaults to false.
21+
verbose = true
2022

2123
[network]
2224
# The minimum number of threads in the network threadpool, defaults to 0 (physical cores).

src/parser.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,11 @@ options_metadata parser::load_settings()
171171
value<config::authority>(&configured.network.statistics_server),
172172
"The address of the statistics collection server, defaults to none."
173173
)
174+
(
175+
"log.verbose",
176+
value<bool>(&configured.network.verbose),
177+
"Enable verbose logging, defaults to false."
178+
)
174179
/* [network] */
175180
(
176181
"network.threads",

0 commit comments

Comments
 (0)