Hi all, How can I redirect the CLI output to file without viewing it on screen? Is it possible.
> Hi all, > How can I redirect the CLI output to file without viewing it on > screen? Is it possible.Read and edit /etc/asterisk/logger.conf You should have already that output at /var/log/asterisk/messages. -- Oh, wow! Look at the moon!
Thanks! But the information in /var/log/asterisk/messages is much different from the messages in CLI. I want to log the message in CLI to file for easy debugging. On 12/18/06, Octavio Ruiz (Ta^3) <tacvbo@tacvbo.net> wrote:> > Hi all, > > How can I redirect the CLI output to file without viewing it on > > screen? Is it possible. > > Read and edit /etc/asterisk/logger.conf > > You should have already that output at /var/log/asterisk/messages. > > -- > Oh, wow! Look at the moon! > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
> Thanks! > But the information in /var/log/asterisk/messages is much different > from the messages in CLI. I want to log the message in CLI to file > for easy debugging.It is the same, see the "levels" in logger.conf, copy the console config to the messages config: (just for example) console => notice,warning,error,verbose,dtmf messages => notice,warning,error,verbose,dtmf And you will have the same output. :)> On 12/18/06, Octavio Ruiz (Ta^3) <tacvbo@tacvbo.net> wrote: > >> Hi all, > >> How can I redirect the CLI output to file without viewing it on > >> screen? Is it possible. > >Read and edit /etc/asterisk/logger.conf > >You should have already that output at /var/log/asterisk/messages.-- Octavio Ruiz Cervera Neocenter, SA. de CV. http://www.neocenter.com/ Soluciones para Centros de Contacto y Telefon?a IP Tel.: (+52 55) 8590-9000 Ext. 9016 Cel.: (+55 55) 5514-087790