On Thu, Jan 05, 2006 at 10:19:23AM -0700, Douglas Garstang wrote: > I'd like to have Asterisk log useful messages during operation. > > Is there any way in extensions.conf that I can manually log messages > to a file, say via syslog()? The console output is ugly, with all the > extra "Executing NoOp("SIP/pstn.voip.com-08a28bd0"," crud at the front > of each line. I'm not sure how to save console output anyway.
A direct answer to your question would be (yuck): System(logger "your custom message") rather than NoOp-s . RTFM logger for slightly more options. Naturally you can 'echo "whatever" >>logfile' instead. -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il | | a Mutt's [EMAIL PROTECTED] | | best ICQ# 16849755 | | friend _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users