OK, turned of debugging with QB_LOG_CONF_PRIORITY_BUMP, that works so far.
But is still get debug messages from libqb:
[libqb] info: IPC credentials authenticated
[libqb] debug: connecting to client [2544]
[libqb] debug: shm size:1048576; real_size:1048576; rb->size:262144
[libqb] debug: shm size:1048576; real_size:1048576; rb->size:262144
[libqb] debug: shm size:1048576; real_size:1048576; rb->size:262144
I do not get any other debug messages. Any idea?
- Dietmar
-----Original Message-----
From: quarterback-devel-bounces(a)lists.fedorahosted.org [mailto:quarterback-
devel-bounces(a)lists.fedorahosted.org] On Behalf Of Angus Salkeld
Sent: Donnerstag, 09. Februar 2012 07:41
To: quarterback-devel(a)lists.fedorahosted.org
Subject: Re: [libqb] qblog question
On 09/02/12 05:59 +0000, Dietmar Maurer wrote:
>> To allow this, call the below once
>>
>> qb_log_ctl(QB_LOG_SYSLOG, QB_LOG_CONF_PRIORITY_BUMP,
>> LOG_INFO - LOG_DEBUG);
>>
>> so before logging it gets priority + bump (which is negative) and so
>> converts a debug into an info.
>
>Why can I set absolute values? Using something like LOG_INFO -
>LOG_DEBUG is not
well we could have a define/enum to turn it on and off.
>very nice, and I need to make sure that it is only called once.
I meant you only have to call it once, but you can call it as many times as you
want. At the moment there is no getter (easy to implement).
-Angus
> Or is there a way to read
>the current level?
>
>- Dietmar
>_______________________________________________
>quarterback-devel mailing list
>quarterback-devel(a)lists.fedorahosted.org
>https://fedorahosted.org/mailman/listinfo/quarterback-devel
_______________________________________________
quarterback-devel mailing list
quarterback-devel(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/quarterback-devel