[asterisk-biz] RES: Patch for Asterisk logging

Rafael Prado Rocchi prado at practis.com.br
Fri Dec 16 01:04:37 CST 2011


Hi Dovig.

We have this already implemented for AGI, the exactly way you want.
We could implement it for SIP too.

Please reply if you still need this patch and tell about what version of
asterisk you need it.



Regards, 

Rafael Prado Rocchi
DIT- Diretoria de Inovação e Tecnologia
http://www.practis.com.br


PRACTIS - Comunicação & Tecnologia 
Av Aquidaban, 766 - Conj 51        
CEP 13026-510, Campinas/SP - Brasil
+55 (11) 3323-1055



De: asterisk-biz-bounces at lists.digium.com
[mailto:asterisk-biz-bounces at lists.digium.com] Em nome de Dovid Bender
Enviada em: domingo, 6 de novembro de 2011 10:07
Para: asterisk-biz at lists.digium.com
Assunto: [asterisk-biz] Patch for Asterisk logging

Hi All,

How hard it would it be to and what is a rough “guesstimate” of the time
needed to  modify asterisk logging so that in logger.conf I can specify
different logging options such as agi debug and sip debug. Right now if say
I have:
syslog.local0 => notice,warning,error,debug,verbose,dtmf,fax
in order to get agi debug and sip debug in there I will need to turn on sip
and agi debugging from Asterisk. This will send it to asterisk locally as
well as to syslog. I want a way to keep the local logs the way they are
however when it comes to say syslog to log everything with agi debug on and
sip debug on. I was thinking of something like:
syslog.local0 => notice,warning,error,debug,verbose,dtmf,fax|debug=0|agi
debug=9|sip set debug ip=10.10.10.10

Basically I want SIP and AGI debugging but only for syslog and NOT for local
files.

TIA.

Regards,

Dovid

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4989 bytes
Desc: not available
URL: <http://lists.digium.com/pipermail/asterisk-biz/attachments/20111216/a5b7390d/attachment.bin>


More information about the asterisk-biz mailing list