In the short term filter by the file names in lib/*.c (not ideal I
know but it will get
the job done).
I am starting to feel stupid now. I can filter messages from ipc_us.c with:
qb_log_filter_ctl(QB_LOG_SYSLOG, QB_LOG_FILTER_ADD,
QB_LOG_FILTER_FILE, "ipc_us.c", LOG_WARNING);
But only if I remove all my other filter (including the default filter).
As soon as I add:
qb_log_filter_ctl(QB_LOG_SYSLOG, QB_LOG_FILTER_ADD, QB_LOG_FILTER_FILE, "*",
LOG_DEBUG);
I get all debug messages from ipc_us.c
Please can you point me to the correct way to do that?
- Dietmar