Author

Topic: How to output information to debug.log file ? (Read 2098 times)

legendary
Activity: 2058
Merit: 1431
LogPrintf. prototype is the same as printf
legendary
Activity: 1358
Merit: 1001
https://gliph.me/hUF

Output to debug.log is default for Bitcoin Core.

Which OS? Which wallet? Which version? etc.
newbie
Activity: 31
Merit: 0
I am testing the code, I encountered a problem. After starting the wallet, it automatically exits.
How to output information to debug.log file ?

debug.log
2014-06-28 02:46:53 LoadBlockIndexDB(): transaction index disabled
2014-06-28 02:46:53 Initializing databases...
2014-06-28 02:46:53 init message: Verifying blocks...
2014-06-28 02:46:53  block index  182ms
2014-06-28 02:46:53 init message: Loading wallet...

then bitcoin-qt.exe  automatically quit.
Jump to: