Bitcoin Forum
May 10, 2024, 04:46:27 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Feature Request: Turn Debug Off Switch/Option  (Read 1550 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. :-)
1715316387
Hero Member
*
Offline Offline

Posts: 1715316387

View Profile Personal Message (Offline)

Ignore
1715316387
Reply with quote  #2

1715316387
Report to moderator
1715316387
Hero Member
*
Offline Offline

Posts: 1715316387

View Profile Personal Message (Offline)

Ignore
1715316387
Reply with quote  #2

1715316387
Report to moderator
Bitcoin mining is now a specialized and very risky industry, just like gold mining. Amateur miners are unlikely to make much money, and may even lose money. Bitcoin is much more than just mining, though!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
davout
Legendary
*
Offline Offline

Activity: 1372
Merit: 1007


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!