r15537 - gnucash/trunk - Overhaul gnc/qof logging: Add default log handler that implements a "log4x"-style log level hierarchy. Correctly use G_LOG_DOMAIN, raw glib logging. Cleanup tests that are too loud afterwards.

Josh Sled jsled at asynchronous.org
Fri Feb 9 13:11:39 EST 2007


On Fri, 2007-02-09 at 18:46 +0100, Christian Stimming wrote:
> Index: /gnucash/trunk/src/register/register-gnome/Makefile.am
> ===================================================================
> +
> +INCLUDES = -DG_LOG_DOMAIN=\"gnc.register.gnome\"
> 
> 
> Shouldn't this be defined in the automake variable DEFS? Or are there
> any reason not to do so?

I was working from the devhelp text for GLib, which suggests the form I
used.  My auto-fu is weak; I'd love a better suggestion about where/how
to specify it.

As well, it'd be nice if it was defined to something reasonable (say
just "gnc") at the top-level, which was used as a default elsewhere, but
over-ridden (or appended to) in the sub-dirs that are interested in
doing so.

-- 
...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/20d4e427/attachment.bin 


More information about the gnucash-devel mailing list