SV: [asterisk-users] Manage 'full' log file

Tzafrir Cohen tzafrir.cohen at xorcom.com
Mon Jan 8 06:54:13 MST 2007


On Mon, Jan 08, 2007 at 02:28:19PM +0100, jan.sarin at securia.se wrote:
> Super! Thanks! Now I see how the script works a bit more clearly. :)
> 
> I still don't understand what happens if I run:
> /usr/sbin/asterisk -rx 'logger rotate'
> 
> Can I run the above without having the script? What will the command do?

If you use that, make sure you don't have logrotate configured. I
generally find logrotate to be more robust and tunable. It is not
Asterisk's job to mess with the policy of log rotation on the system.

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir


More information about the asterisk-users mailing list