[asterisk-users] Asterisk Message Logs

Tzafrir Cohen tzafrir.cohen at xorcom.com
Thu Aug 23 13:00:57 CDT 2007


On Thu, Aug 23, 2007 at 01:07:36PM -0400, Ron Joffe wrote:
> On Thursday 23 August 2007 12:46, Kutman.DK at forces.gc.ca wrote:
> > Thanks for your reply.  I have previously looked at the logger.conf file. 
> > I see that the various types of information can be logged in different
> > ways.  After setting the various information types with whatever I want
> > logged, is it possible to save the actual logs to a file (ie:  As the
> > messages are bring printed, save them all to a file to be viewed later).
> 
> I utilize this command:
> 
> nohup script -f -c "asterisk -vvvTn" /tmp/asterisk.log &
> 
> To start up my apps. This will log everything to a log file.

Why nohup? And if you have nohup, why script?

It will log everything until the cotrolling terminal is lost, right? I
think what you're actually looking for is screen.


If you want asterisk daemonized but still want it verbose, use -F

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