cell_log and debug

Martin Hauke mardnh at gmx.de
Tue Feb 1 18:55:51 UTC 2011


On 01.02.2011 11:48, Dario Lombardo wrote:
> Shame on me when I'm not able to print debug messages from cell_log :)
> but...
>
> cell_log -d DRR,3
>
> doesn't give me any additional output. I would like to see the line
>
>     LOGP(DRR, LOGL_INFO, "IMMEDIATE ASSIGNMENT:\n");
>
> from cell_log.c.
> Can anybody help me?
>
>
Hi Dario,

it seems that the -d option is not use by the cell_log app.
You can change the log_parse_category_mask in
"src/host/layer23/src/misc/app_cell_log.c" and recompile the app.

--snip---
        log_parse_category_mask(stderr_target, "DL1C:DRSL:DRR:DGPS:DSUM");
//      log_parse_category_mask(stderr_target, "DSUM");
        log_set_log_level(stderr_target, LOGL_INFO);
---snip---

best regards,
Martin




More information about the baseband-devel mailing list