[Asterisk-Users] Asterisk Debugging

Alyed Tzompa alyed.tzompa at simitel.com
Thu Jan 5 11:59:08 MST 2006


Then stop looking for easy solutions and get your hands dirty changing your c files

Alyed  

----------------------------------------

 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.     I just tried using:  mylogfile => verbose     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.     Doug         -----Original Message-----
From: Alyed Tzompa [mailto:alyed.tzompa at simitel.com]
Sent: Thursday, January 05, 2006 11:18 AM
To: asterisk-users at lists.digium.com
Subject: re: [Asterisk-Users] Asterisk Debugging

 I don't find the console output ugly, maybe messy, but never ugly :P

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. 
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
 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.
i.e. 
;logger.conf

[logfiles]
mylogfile => verbose

Alyed  

----------------------------------------

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.

Thanks,
Doug.
_______________________________________________
--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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060105/66ead338/attachment.htm


More information about the asterisk-users mailing list