How do you turn off debugging messages?

Christian Stimming stimming at tuhh.de
Mon Apr 4 10:07:28 EDT 2011


When you change the first line of your ~/.gnucash/log.conf to

gnc=error

, does that help? Also, why did you create this particular log.conf in  
the first place if you don't want to see log output? You can remove  
(rename) the file to something else just as well, this should switch  
off log output to stderr/stdout.

Regards,

Christian


Zitat von "David G. Hamblen" <dhamblen at roadrunner.com>:

> Any ideas on what's causing these?  I've tried a variety of things  
> (short of editing source code) - but only redirecting the stdout to  
> somewhere (/dev/null) works.  If I run GC from the Gnome menu, all  
> this stuff ends up in .xsession-errors.  This behavior maybe began  
> when I updated to Ubuntu 10.10; so perhaps it's a gnome issue.  I've  
> compiled my own gnucash-4.x.x from svn, so it's not an ubuntu  
> packaging issue.
>
> While on the subject of unwanted output, all reports generated by GC  
> are left in /tmp (until the next reboot).
>
>
> Dave
>
>
>
>
> On 03/18/2011 04:24 PM, Scott Simpson wrote:
>> I'm getting messages like
>>
>> (gnucash:9085): gnc.backend.file.sixtp-DEBUG: Finished with end of
>> <price:type>
>> (gnucash:9085): gnc.backend.file.sixtp-DEBUG: Finished with end of
>> <price:value>
>> (gnucash:9085): gnc.io-DEBUG: [dom_tree_to_text] node string [NYSE]
>> (gnucash:9085): gnc.io-DEBUG: [dom_tree_to_text] node string [LOW]
>> (gnucash:9085): gnc.io-DEBUG: [dom_tree_to_text] node string [ISO4217]
>> (gnucash:9085): gnc.io-DEBUG: [dom_tree_to_text] node string [USD]
>> (gnucash:9085): gnc.io-DEBUG: [dom_tree_to_text] node string [2011-03-10
>> 13:34:00 -0800]
>> (gnucash:9085): gnc.io-DEBUG: [dom_tree_to_text] node string  
>> [Finance::Quote]
>> (gnucash:9085): gnc.io-DEBUG: [dom_tree_to_text] node string [last]
>> (gnucash:9085): gnc.io-DEBUG: [dom_tree_to_text] node string
>> [265400000/10000000]
>> (gnucash:9085): gnc.backend.file.sixtp-DEBUG: Finished with end of<price>
>> (gnucash:9085): gnc.backend.file.sixtp-DEBUG: Finished with end of<price:id>
>> (gnucash:9085): gnc.backend.file.sixtp-DEBUG: Finished with end  
>> of<cmdty:spac
>>
>> when gnucash starts up. How do I turn this off? My ~/.gnucash/log.conf file
>> looks like
>>
>> [levels]
>> gnc=message
>>
>> gnc.bin=warn
>> gnc.gui=warn
>> gnc.backend.file=warn
>> gnc.smc=warn
>>
>> gnc.engine.sx=warn
>> gnc.app-util.sx=warn
>> gnc.backend.file.sx=warn
>> gnc.gui.sx=warn
>> gnc.gui.frequency=warn
>>
>> GLib=error
>>
>> [output]
>> to=stderr
>> _______________________________________________
>> gnucash-devel mailing list
>> gnucash-devel at gnucash.org
>> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>





More information about the gnucash-devel mailing list