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