Debugging options

+1 vote
Debugging/Testing options:
  -debug=<category>    

Output debugging information (default: 0, supplying <category> is optional).If <category> is not supplied, output all debugging information.

<category> can be: addrman, alert, bench, coindb, db, lock, rand, rpc, selectcoins, mempool, net.

 

how do i set value for -debug= ?

as  1, 2 3 each number corresponding to a category or as string by name, and can i select more than one category to be put into the debug log. defualt log is full of spam but im dont think 1 category alone would have enough information about everything we are tracking. Give an example please.

And also can u please give me more details as to what does each category represent?
asked Mar 11, 2016 by SlobodanMargetic

1 Answer

+2 votes
 
Best answer

try it:

multichaind yourchainname -debug=mchn -debug=mchnminor -debug=net

It write to debug.log file under your chain folder. For example:

Ubuntu:

.multichain/yourchainname/debug.log

answered Mar 13, 2016 by alex
selected Mar 14, 2016 by SlobodanMargetic
...