[asterisk-users] CONSOLE logging

Veselin Kantsev veselin at campbell-lange.net
Tue Jul 8 18:06:21 CDT 2008


Thank you Tzafrir,

is there any way to make asterisk log the console input/output, itself?

I've only come accross methods of doing that using separate tools,
like "tee".


Veselin
On Tue, Jul 08, 2008 at 08:14:30PM +0300, Tzafrir Cohen wrote:
> On Tue, Jul 08, 2008 at 03:55:23PM +0100, Veselin Kantsev wrote:
> > Hello,
> > I'm trying to enable CONSOLE logging in Asterisk 1.4.14 on a 2.6.18
> > Debian Lenny server.
> > 
> > It is enabled in logger.conf, however no log file is created in
> > /var/log/asterisk/
> > 
> > Also I was wondering if I manage to get it working and use logrotate
> > daemon as well, is logrotate going to restart the asterisk process each
> > time in order to rotate the log file?
> 
> You need to tell asterisk ot run 'logger retate' after rotating logs.
> See the logrotate file in the asterisk package (try: debcheckout
> asterisk)
> 
> -- 
>                Tzafrir Cohen
> icq#16849755              jabber:tzafrir.cohen at xorcom.com
> +972-50-7952406           mailto:tzafrir.cohen at xorcom.com
> http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir
> 
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list