Re: MidgardConnection (Was: [midgard-cvs] CVS update: /midgard/src/core/midgard/midgard/)

Piotras <pp-VVDi8QVAvoBWk0Htik3J/[email protected]> Mon, 6 Mar 2006 13:53:21 +0100
Newsgroups gmane.comp.web.midgard.devel
Message-ID <[email protected]>
"Jukka Zitting" <[email protected]> wrote:

> Hi,

Hi,

> > All messages are logged unconditionally.
> 
> You are doing something wrong. Try the following:

OK, that works fine, just commited repligard's changes.
I tried with :

mgd->loglevel = mgd_parse_log_levels("warn");
g_log_set_handler(G_LOG_DOMAIN, mgd->loglevel,
             mgd_log_debug_default, (gpointer)mgd->loglevel);

For every domain.

Piotras