Bitcoin Forum
May 21, 2024, 10:46:33 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to output information to debug.log file ?  (Read 2083 times)
ftc-c (OP)
Newbie
*
Offline Offline

Activity: 31
Merit: 0


View Profile
June 28, 2014, 03:11:52 AM
 #1

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.
Newar
Legendary
*
Offline Offline

Activity: 1358
Merit: 1001


https://gliph.me/hUF


View Profile
June 28, 2014, 03:05:26 PM
 #2


Output to debug.log is default for Bitcoin Core.

Which OS? Which wallet? Which version? etc.

OTC rating | GPG keyid 1DC91318EE785FDE | Gliph: lightning bicycle tree music | Mycelium, a swift & secure Bitcoin client for Android | LocalBitcoins
grue
Legendary
*
Offline Offline

Activity: 2058
Merit: 1431



View Profile
June 29, 2014, 03:46:26 AM
 #3

LogPrintf. prototype is the same as printf

It is pitch black. You are likely to be eaten by a grue.

Adblock for annoying signature ads | Enhanced Merit UI
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!