[asterisk-users] Asterisk Message Logs

Tzafrir Cohen tzafrir.cohen at xorcom.com
Thu Aug 23 14:21:19 CDT 2007


On Thu, Aug 23, 2007 at 12:43:15PM -0600, Anthony Francis wrote:
> The problem with any of these choices is that they do not address 
> logfile rotation.

Because this can be done with the standard system logrotate, or even by
asterisk (if you trust it to that). Decently-packaged Asterisk comes
with log rotation configuration.

Indeed the output of the CLI should not be simply logged. Asterisk has a
good enough logging facility that need not be replicated. There is no
need to start asterisk vebosely by default and spend useless CPU time on
useless messages. Use verbose messages when trying to debug a problem.
Let errors stand out when they come.

> 
> Try this:
> 
> http://cr.yp.to/daemontools.html

and endure the voodoo.

-- 
               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