Bitcoin Forum
December 13, 2024, 12:44:43 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Feature Request: Turn Debug Off Switch/Option  (Read 1578 times)
joey (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0



View Profile
December 07, 2010, 05:34:19 PM
 #1

Hi,

I'd like to request an option or command-line switch to turn off the debug log, or at the very least categorize the messages so only WARNING messages go the debug log.

Thanks,

Joey

ps.  No, not JoeyDangerous.  A new Joey. :-)
davout
Legendary
*
Offline Offline

Activity: 1372
Merit: 1008


1davout


View Profile WWW
December 07, 2010, 05:50:10 PM
 #2

+1

Debug logs are not very useful most of the time and should be opt-in.


mikegogulski
Sr. Member
****
Offline Offline

Activity: 360
Merit: 250



View Profile WWW
December 08, 2010, 09:33:22 AM
 #3

The on/off switch makes sense. I'd also be very happy to see more debug detail available, preferably grouped by power-of-2 categories that can be ORed together. For example, when I'm working on ecommerce plugins, I don't really care to see anything but JSON-RPC debug output (and I wish there was more of that, too, including incoming connections, failures, ssl details, etc).

FREE ROSS ULBRICHT, allegedly one of the Dread Pirates Roberts of the Silk Road
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!