Question about DEBUG statements

John Ralls jralls at ceridwen.us
Thu Feb 26 13:20:47 EST 2026



> On Feb 26, 2026, at 04:51, Jon Schewe <jpschewe at mtu.net> wrote:
> 
> I've been doing some debugging with the QFX import matcher and noticed
> that I needed to uncomment the DEBUG log statements and build a new
> binary to enable these. I would have expected to just need to enable
> the debug log statements on the command line with "--log
> gnc.import=debug". 
> 
> I'm adding some more in an upcoming PR and want to understand which
> ones should be commented out and which ones should not.
> 
> What is the reason that these statements are commented out?

They’re from the original commit in 2002: https://github.com/Gnucash/gnucash/commit/b6092223f69c3133b69dc97eb561eaf40dd96230. That may have been before the logging system had the ability to configure a logging level from the command line.

Regards,
John Ralls

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20260226/367eb894/attachment.htm>


More information about the gnucash-devel mailing list