[Asterisk-Users] Lots of console; attach and grep?
Jimmy Smith
jimmy.voippro at gmail.com
Wed Aug 24 10:24:37 MST 2005
hehe yes exactly..
you could tail -f that file .. or grep
as in
tail -f /var/log/asterisk/verbose |grep -10 -v 'somestring'
that would give you 10 lines around it.. or before it i dont remmeber
off the bat..
On 8/24/05, Eric Wieling aka ManxPower <eric at fnords.org> wrote:
> Matthew Boehm wrote:
> > We have recently started routing about 3 PRI's worth of traffic thru our
> > asterisk box.
> >
> > The text on the console now flys by so damn fast, I can't really see
> > what the heck is going on. Even with verbosity 0 and debug 0 it is still
> > so fast.
> >
> > Is there some way I can attach to the console in a way that will allow
> > me to grep or otherwise filter the text so I can focus on something in
> > particular?
>
> You mean like the info in /var/log/asterisk which is configured via
> /etc/asterisk/logger.conf ?
>
>
> --
> Eric Wieling * BTEL Consulting * 504-210-3699 x2120
>
> r: Generate a ringing tone for the calling party, passing no audio from
> the called channel(s) until one answers. Use with care and don't insert
> this by default into all your dial statements as you are killing call
> progress information for the user. Really, you almost certainly do not
> want to use this. Asterisk will generate ring tones automatically where
> it is appropriate to do so. "r" makes it go the next step and
> additionally generate ring tones where it is probably not appropriate to
> do so.
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list