Bug#849804: /etc/init.d/asterisk debug unusable for continous output

Joerg Dorchain joerg at dorchain.net
Sun Jan 1 11:09:58 UTC 2017


On Sun, Jan 01, 2017 at 11:22:25AM +0100, Bernhard Schmidt wrote:
> Hi,
> 
> > The messages comes from pjproject. The messages are relatively low
> > priority ones there.
> > 
> > However just from reading the code I'm a bit lost. That message seems to
> > be at log priorty 6 in pjproject:
> > http://sources.debian.net/src/pjproject/2.5.5~dfsg-5/pjlib/src/pj/os_core_unix.c/?hl=1361#L1361
> > (And likewise in 2.4.5)
> > 
> > Asterisk maps by default pjproject log levels 3, 4 and 5 to "debug" (see
> > pjproject.conf) and I don't see anything about 6. Do you have anything
> > customized there? Can you play with the definitions in that file?
> 
> As a sidenote, I have enabled log level 6 in pjproject 2.5.5~dfsg-4
> (which has hit testing as well yesterday) following the non-ABI breaking
> suggestions in
> https://github.com/asterisk/asterisk/blob/master/third-party/pjproject/patches/config_site.h
> . So these messages weren't generated before I guess.
> 
> Joerg, can you test downgrading pjproject to -3?

Hm, I have some packages with that version number indeed:
dpkg-query -W|grep 2.5.5~dfsg-5
libpj2:amd64    2.5.5~dfsg-5
libpjlib-util2:amd64    2.5.5~dfsg-5
libpjmedia-audiodev2:amd64      2.5.5~dfsg-5
libpjmedia-codec2:amd64 2.5.5~dfsg-5
libpjmedia-videodev2:amd64      2.5.5~dfsg-5
libpjmedia2:amd64       2.5.5~dfsg-5
libpjnath2:amd64        2.5.5~dfsg-5
libpjsip-simple2:amd64  2.5.5~dfsg-5
libpjsip-ua2:amd64      2.5.5~dfsg-5
libpjsip2:amd64 2.5.5~dfsg-5
libpjsua2:amd64 2.5.5~dfsg-5
libpjsua2-2v5:amd64     2.5.5~dfsg-5
and asterisk has it in its dependency chain.

Downgrading these to 2.5.5~dfsg-3 from snapshot.debian.org indeed
helped the problem. So far, so easy.

To keep me happy, I see some options. Most obvious, do we really
need that loglevel? If yes, it should be mentioned in
pjproject.conf, with the option to silence them, maybe with a
word of warning for the clutter on the console.

Bye,

Joerg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 898 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20170101/505a9e86/attachment-0001.sig>


More information about the Pkg-voip-maintainers mailing list