bitcoin-s/core-test
Torkel Rogstad a76f61f97c Add configurable logging to data directory (#640)
* Add logging to data directory

In this commit we add the ability for the node, chain
and wallet projects (+ the server) to log to the users
data directory instead of whatever directory the
binaries was launched from. This is inherently a bit
more complicated than our previous setup, because
we need to read the user directory before we can create
loggers. As a result of this, some files/methods were
moved around, so the relevant app config could be
found in scope.

We also  introduce several logging categories that can be
tuned individually through user configuration. These logggers
are exposed both as traits that give a field `logger`, or
as methods that return the required logger.

* Add datadir configuration to AppConfig

In this commit we add support for AppConfig to pick up
the data directory configuration file. We also add
a section to the contributing guide on how to tune
logging levels.

* Pass data directories explicitly for configuration
2019-08-01 06:01:56 -05:00
..
src/test Add configurable logging to data directory (#640) 2019-08-01 06:01:56 -05:00
build.sbt Added scalafmt and ran it (#264) 2018-12-09 14:43:31 -05:00
README.md Bump P2P + crypto test coverage (#506) 2019-06-11 10:01:46 -05:00

See our contributing guide for information on how to benchmark, test and develop your code.