~/.gnucash/log.conf

Josh Sled jsled at asynchronous.org
Fri Feb 9 21:23:57 EST 2007


-------- Forwarded Message --------
> Date: Fri, 9 Feb 2007 20:29:30 -0500
> Trac: http://svn.gnucash.org/trac/changeset/15545
[...]
> Support for ~/.gnucash/log.conf, a key-value file of logging settings; see comment-doc for qof_log_parse_log_config(...) for the file format.
[...]
> Modified: gnucash/trunk/lib/libqof/qof/qoflog.h
[...]
> +/** Parse a log-configuration file.  A GKeyFile-format file of the schema::
> + *
> + *      [levels] 
> + *      # log.ger.path=level
> + *      gnc.engine.sx=debug
> + *      gnc.gui.sx=debug
> + *      gnc.gui.freqspec=debug
> + *      [output]
> + *      # to=["stderr"|"stdout"|filename]
> + *      to=stderr
> + **/
> +void qof_log_parse_log_config(const char *filename);

After this, I recommend a "dev" ~/.gnucash/log.conf like::

    [levels]
    gnc=mess

    [output]
    to=stderr

Which will put a bit more detail in your face without being too
overwhelming.  At least, you should know it's possible. :)

(I do suggest trying 'gnc=info', and seeing how many times we populate
the gnc_commodity table :)

-- 
...jsled
http://asynchronous.org/ - a=jsled;b=asynchronous.org;echo ${a}@${b}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20070209/99b1a3c3/attachment.bin 


More information about the gnucash-devel mailing list