[asterisk-users] Asterisk console filtering and logging

Tzafrir Cohen tzafrir.cohen at xorcom.com
Thu Jul 5 04:31:03 CDT 2007


On Thu, Jul 05, 2007 at 08:09:32AM +0400, Eugene Prokopiev wrote:
> Hi,
> 
> Is it possible to filter messages on asterisk console, which was started 
> with -vvvv, to see messages only for one extensions? By default there 
> are all messages for any extensions displayed so dialplan debuging is 
> very difficult.

tail -f /var/log/asterisk/full | grep whatever

or egrep.

Or get your favorite log watcher program.

> 
> Is it possible to log such console messages:
> 
> ...
>      -- Executing Set("SIP/10.0.0.1-0061f5d0", "CDR(userfield)=2422718")
>      -- Executing Dial("SIP/10.0.0.1-0061f5d0", "SIP/708,25,tT")
> ...
> 
> to file. I can't find any suitable option in logger.conf

There are many excellent log watcher pograms which do essentially what I
described above.

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list