|
Question : Extraneous Logging in Asterisk How to Stop
|
|
Hi all.
It seems I have non-stop logging of the following messages about every 60-seconds or so:
From: /var/log/asterisk/full
Apr 10 06:07:49 DEBUG[1396]: Setting NAT on RTP to 0 Apr 10 06:07:49 DEBUG[1396]: Stopping retransmission on '497a055045f468c916facc9c3d1bbe25@192.168.1.202' of Request 102: Found Apr 10 06:07:51 DEBUG[1396]: Stopping retransmission on '695a165e20f45e0553a656db058c5eea@192.168.1.202' of Request 102: Found Apr 10 06:07:56 DEBUG[1396]: Auto destroying call 'E60F28560F104975BAFA646C93AF2DE3@192.168.1.202' Apr 10 06:08:05 DEBUG[1396]: Auto destroying call '[email protected].1.102'
Apr 10 06:08:44 DEBUG[1396]: Setting NAT on RTP to 0 Apr 10 06:08:44 DEBUG[1396]: Stopping retransmission on '10d72c33358886291961c3697c20e53c@192.168.1.202' of Request 102: Found Apr 10 06:08:51 DEBUG[1396]: Stopping retransmission on '6d10188d2b1db034319d475e137145e5@192.168.1.202' of Request 102: Found Apr 10 06:08:54 DEBUG[1396]: Manager received command 'Command' Apr 10 06:08:54 DEBUG[1396]: Manager received command 'Command' Apr 10 06:08:56 DEBUG[1396]: Auto destroying call 'E60F28560F104975BAFA646C93AF2DE3@192.168.1.202' Apr 10 06:09:03 DEBUG[1396]: Auto destroying call '[email protected].1.102'
Is this normal behavior? I have no idea of what it means, or how to turn it off. Moreover, it doesnt make the log file terribly useful, since you need to sift through all this nonsense just to find what you want. Ive tried turning verbosity down to 1, but it only affects what displays on the console. All I want to see are the inbound/ outbound call processes nothing else.
Also
Why are all actions marked as DEBUG [1396]? This seems to be the current PID, but it stays the same for everything. What good is this if youre looking for the activity of a particular call? For example, Postfix uses unique IDs for each process, i.e.,: postfix/smtpd[15066]. This makes it easy to track a particular action. Is there any way to make Asterisks logging a little more useful, or at least quieter?
Any insight would be appreciated :)
Dave
Asterisk 1.5 Sipura SPA-3000
|
Answer : Extraneous Logging in Asterisk How to Stop
|
|
start asterisk in silent mode.
normally asterisk is started as
asterisk -v
where the option v stands for verbose output If we specify more v's we get more verbose output from asterisk.
i.e specifying asterisk -vvvvvv shows more output than asterisk -v
so to turn asterisk in silent mode just start asteruik with the asterisk command.
|
|
|
|