<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=565010719-05012006><FONT face=Arial color=#0000ff size=2>Not
everyone is a C programmer extraordinairre.</FONT></SPAN></DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><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:59 AM<BR><B>To:</B> Douglas Garstang;
asterisk-users@lists.digium.com<BR><B>Subject:</B> RE: [Asterisk-Users]
Asterisk Debugging<BR><BR></FONT></DIV><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 width="100%" SIZE=2>
</FONT><BR>
<DIV><SPAN class=190434618-05012006><FONT face=Arial color=#0000ff
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 face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=190434618-05012006><FONT face=Arial color=#0000ff size=2>I
just tried using:</FONT></SPAN></DIV>
<DIV><SPAN class=190434618-05012006><FONT face=Arial color=#0000ff
size=2>mylogfile => verbose</FONT></SPAN></DIV>
<DIV><SPAN class=190434618-05012006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=190434618-05012006><FONT face=Arial color=#0000ff 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 face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=190434618-05012006><FONT face=Arial color=#0000ff
size=2>Doug</FONT></SPAN></DIV>
<DIV><SPAN class=190434618-05012006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=190434618-05012006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><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 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> default is
/var/log/asterisk) after editing the file you'll need to do either an
Asterisk restart or input CLI> logger rotate at the Asterisk
console.<BR>i.e. <BR>;logger.conf<BR><BR>[logfiles]<BR>mylogfile =>
verbose<BR><BR><BR>Alyed </FONT><BR><FONT face="Tahoma, Arial, Sans-Serif"
size=2>
<HR align=center width="100%" SIZE=2>
</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></BLOCKQUOTE></BODY></HTML>