Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: joey on December 07, 2010, 05:34:19 PM



Title: Feature Request: Turn Debug Off Switch/Option
Post by: joey on December 07, 2010, 05:34:19 PM
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. :-)


Title: Re: Feature Request: Turn Debug Off Switch/Option
Post by: davout on December 07, 2010, 05:50:10 PM
+1

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



Title: Re: Feature Request: Turn Debug Off Switch/Option
Post by: mikegogulski on December 08, 2010, 09:33:22 AM
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).