Prefix leveldb debug logging
commit9b80fc1498d517b67657c4765f889364efabe683
authorWladimir J. van der Laan <laanwj@gmail.com>
Thu, 30 Nov 2017 08:27:19 +0000 (30 09:27 +0100)
committerWladimir J. van der Laan <laanwj@gmail.com>
Thu, 30 Nov 2017 08:29:25 +0000 (30 09:29 +0100)
tree827f23ea4dbc15a405f6d1d5d9a66eb377d2b0df
parent6d3dc52b6bad1cdb1c881baf8bb767465a6c2c8d
Prefix leveldb debug logging

Add leveldb: prefix to leveldb debug logging lines.
leveldb debug messages come in various scary flavors such as:

    2017-11-30 08:26:31 leveldb: Recovering log #26
    2017-11-30 08:26:31 leveldb: Level-0 table #28: started
    2017-11-30 08:26:31 leveldb: Level-0 table #28: 597 bytes OK
    2017-11-30 08:26:31 leveldb: Delete type=0 #26
    2017-11-30 08:26:31 leveldb: Delete type=3 #24

so it's reasonably important to mark them as coming from leveldb
internals and not from consensus validation wallet or such.

(this only affects `-debug=leveldb` or `-debug=1` otherwise you won't
see them in the first place)
src/dbwrapper.cpp