Tristram Cheer
2011-Nov-13 22:19 UTC
[asterisk-users] Logging Specific Verbose Level To Seperate File
Hi All, Hopefully this is considered on-topic for this list. I'm using DumpChan(1001) in a Macro called debug in order to debug issues within the dialplan, I would like to dump this output to a file specifically for DumpChan output but I'm having issues with figuring out how to do this under logger.conf. Ideally I would like to put DumpChan into SQL using func_ODBC but it seems that you can't do this so runner up is a file. Anyone have any pointers on how to do this? I would like to log DumpChan output and only DumpChan output to a separate file. Cheers! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111114/7596d479/attachment.htm>
Sammy Govind
2011-Nov-14 05:07 UTC
[asterisk-users] Logging Specific Verbose Level To Seperate File
Hello, Reading about the application DumpChan() shows this: [Synopsis] Dump Info About The Calling Channel. [Description] Displays information on channel and listing of all channel variables. If <level> is specified, output is only displayed when the verbose level is currently set to that number or greater. [Syntax] DumpChan([level]) So in theory its just another Verbose output on CLI, you can separate Verbose logging to another file in logger.conf. Your verbose level is 1001 so whenever you set "core set verbose 1001" this DumpChan() application will start dumping output in CLI and then fro there be logged in the Verbose logging file. I don't think this is exactly what you require. -- Regards, Sammy On Mon, Nov 14, 2011 at 3:19 AM, Tristram Cheer <tristram at tristramcheer.com>wrote:> Hi All, > > Hopefully this is considered on-topic for this list. > > I'm using DumpChan(1001) in a Macro called debug in order to debug issues > within the dialplan, I would like to dump this output to a file > specifically for DumpChan output but I'm having issues with figuring out > how to do this under logger.conf. Ideally I would like to put DumpChan into > SQL using func_ODBC but it seems that you can't do this so runner up is a > file. > > Anyone have any pointers on how to do this? I would like to log DumpChan > output and only DumpChan output to a separate file. > > > Cheers! > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > 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/20111114/5ff41482/attachment.htm>
Anton Kvashenkin
2011-Nov-14 05:09 UTC
[asterisk-users] Logging Specific Verbose Level To Seperate File
Maybe this can help http://www.russellbryant.net/blog/2011/03/04/debugging-the-asterisk-dialplan-with-verbose/ 2011/11/14 Tristram Cheer <tristram at tristramcheer.com>> Hi All, > > Hopefully this is considered on-topic for this list. > > I'm using DumpChan(1001) in a Macro called debug in order to debug issues > within the dialplan, I would like to dump this output to a file > specifically for DumpChan output but I'm having issues with figuring out > how to do this under logger.conf. Ideally I would like to put DumpChan into > SQL using func_ODBC but it seems that you can't do this so runner up is a > file. > > Anyone have any pointers on how to do this? I would like to log DumpChan > output and only DumpChan output to a separate file. > > > Cheers! > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > 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/20111114/f9cb5982/attachment.htm>