Hi, * ☎ Max.Suraev@fairwaves.ru [2012-09-21 15:12]:
21.09.2012 09:24, Harald Welte пишет:
It should be -d DGPRS, but I suggest you rather configure logging for stdout or for your given telnet session via VTY.
I suggest to enable debug for NS, BSSGP, LLC, (G)MM
Sadly with latest libosmocore from git I got segfault in log_parse_category_mask() with osmo-sgsn --debug=DNS:DGPRS:DNS:DBSSGP:DLLC:DMM:DGMM
This seems to be caused by a bug in libosmocore. I'm actually surprised that nobody encountered this crash before. The reason is that log_parse_category_mask() checks for osmo_log_info->cat[i].name being NULL after passing the pointer to strlen.
Attached is a patch to fix this.
Cheers Nico