<font face="arial" size="2">Then stop looking for easy solutions and get your hands dirty changing your c files<br /> <br />Alyed </font><br /><br /><font face="Tahoma, Arial, Sans-Serif" size="2"><hr align="center" size="2" width="100%" /></font><br /> <div><span class="190434618-05012006"><font color="#0000ff" face="Arial" size="2">Well, I want the output that the NoOp's generate. I want to be able to manually log lines to a file through some mechanism. I just wish I could do it without all the extra NoOp stuff at the front.</font></span></div> <div><span class="190434618-05012006"><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div> <div><span class="190434618-05012006"><font color="#0000ff" face="Arial" size="2">I just tried using:</font></span></div> <div><span class="190434618-05012006"><font color="#0000ff" face="Arial" size="2">mylogfile =&gt; verbose</font></span></div> <div><span class="190434618-05012006"><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div> <div><span class="190434618-05012006"><font color="#0000ff" face="Arial" size="2">in logger.conf but all I got was the startup/shutdown asterisk messages. Besides, this isn't what I wan't. I don't want Asterisk internal generated log messages. I want my OWN log messages, that I specify.</font></span></div> <div><span class="190434618-05012006"><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div> <div><span class="190434618-05012006"><font color="#0000ff" face="Arial" size="2">Doug</font></span></div> <div><span class="190434618-05012006"><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div> <div><span class="190434618-05012006"><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div> <blockquote> <div class="OutlookMessageHeader" align="left" dir="ltr"><font face="Tahoma" size="2">-----Original Message-----<br /><b>From:</b> Alyed Tzompa [mailto:alyed.tzompa@simitel.com]<br /><b>Sent:</b> Thursday, January 05, 2006 11:18 AM<br /><b>To:</b> asterisk-users@lists.digium.com<br /><b>Subject:</b> re: [Asterisk-Users] Asterisk Debugging<br /><br /></font></div><font face="arial" size="2">I don't find the console output ugly, maybe messy, but never ugly :P<br /><br />If u don't like those NoOp, just take them away from ur extensions.conf. BTW, to&nbsp; save the console output to a given file, just edit your logger.conf file. <br />Say you only want the console output, then just add to your filename the verbose option . The file will be saved wherever is defined in the asterisk.conf (the<br />&nbsp;default is /var/log/asterisk) after editing the file you'll need to do either an Asterisk restart or input CLI&gt; logger rotate&nbsp; at the Asterisk console.<br />i.e. <br />;logger.conf<br /><br />[logfiles]<br />mylogfile =&gt; verbose<br /><br /><br />Alyed </font><br /><font face="Tahoma, Arial, Sans-Serif" size="2"> <hr align="center" size="2" width="100%" /> </font><br /><br />I'd like to have Asterisk log useful messages during operation.<br /><br />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.<br /><br />Thanks,<br />Doug.<br />_______________________________________________<br />--Bandwidth and Colocation provided by Easynews.com --<br /><br />Asterisk-Users mailing list<br />To UNSUBSCRIBE or update options visit:<br />http://lists.digium.com/mailman/listinfo/asterisk-users<br /><br /></blockquote><br />