[asterisk-users] CLI output to file
Octavio Ruiz (Ta^3)
tacvbo at tacvbo.net
Sun Dec 17 21:16:17 MST 2006
> 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 at 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
More information about the asterisk-users
mailing list