| VoiceXML 2.1 Development Guide | Home | Frameset Home |
|



"Stop" Clicking this button while a call is active allows you to stop the session specified, (i.e. remotely hang up the call). This is useful if you code yourself into a looping application.
"Pause" Clicking this command button allows to you pause application execution on an active call. This is useful for hunting down a particular debugger message, and is even more handy for coffee/cigarette breaks. Just don't let the Boss catch you.
"Play" This button only comes into action when we have a call session that is paused. Clicking this button allows you to continue with a formerly paused call session, resuming from the point in which it was last interrupted.
"Step" After pausing an application, you may wish to allow it to run 'step-by-step' so that you can watch the application's behavior more closely. Using this debugger command button will allow you to 'un-pause' the application so you may give it a single input, or allow it to execute the very next prompt or recognition state before pausing again.
"Get Variables" Possibly the most useful of all the command buttons, clicking this button will bring up a new window which shows any and all session, application, and user-defined variables that are available in the current call session.
"Get Current Document" This command button allows you to view the current XML document as the interpreter sees it. This is especially useful when attempting to view the XML output by the target of a POST, for instance.
"Send Event" This somewhat specialized button is only applicable when running a CCXML or a CallXML application. Clicking on this button will open a pop-up that allows you to specify a particular event to send to the application. For instance, if a CCXML application is running, one could pause the call, and then specify that an 'error.dialog.notstarted' event be thrown to the application in order to check that the appropriate event handlers are working correctly.
<voxeo:logcontrol mode="disable"/>
<voxeo:logcontrol mode="enable"/>
<voxeo:logcontrol> extension element requires that one specify the "xmlns:voxeo" attribute of the <vxml> element<voxeo:logcontrol> element can only be enabled/disabled within either a <block> or a <filled> element.| ANNOTATIONS: EXISTING POSTS |
mheadd
|
|
| Regarding the <voxeo:logcontrol/> element, is this the equivalent of using:
<log expr="'VOXEO:Logging.disable'" label="trace:?level=ERROR"/> What is the difference between the two? Does this prevent log statements from appearing in the log files, or just from appearing in the log viewer? |
|
VoxeoDante
|
|
| Hello,
Using the; <log expr="'VOXEO:Logging.disable'" label="trace:?level=ERROR"/> method is the old way of turning off logging at the CCXML level and should no longer work on our platform. We are working to get the documentation updated to reflect these changes. The newer method, <voxeo:logcontrol/>, should still work and will turn off logging at a very high level. This means that there will be no logs available to the log viewer or to be written to disk. Additionally in the newest builds of the platform, those after 8.0.250.0 contain the workings for a new property to control logging. This new property will be aptly named com.voxeo.logcontrol.mode. It shall have three settings. - disable -- all logging will be turned off. - enable -- this is the default and is the same as not setting the property. - sensitive -- sensitive material should be suppressed from the logs. And will not limit logging in the MRCP server. I hope this helps. Regards, Dante Vitulano |
|
mheadd
|
|
| Dante:
What is the status of the new "com.voxeo.logcontrol.mode" property? Is it active? Can we use it in our applications? Is there any information aavailalbe in the documentation on its use? Thanks! Mark |
|
jdyer
|
|
| Hi Mark,
The Voxeo logger's feature of really simple and certainly still active, to use them you simply include the Voxeo namespace at the [url=http://docs.voxeo.com/voicexml/2.0/vxml.htm]<vxml>[/url] scope of your application, then simply add the below snippet to your code to turn the logger off: [code]<voxeo:logcontrol mode="disable"/>[/code] And to turn it back on again within your code, add this command: [code]<voxeo:logcontrol mode="enable"/>[/code] I do hope that's helps, and please let us know if there are any additional questions as we are most certainly here to help! Regards, John Dyer Customer Engineer Voxeo Support |
|
SSA_NCH
|
|
| It's probably worth noting that this tool/technique is NOT available in a Production environment. Apparently Voxeo prefers any problems/issues to be reproduced in the staging area (where this tool/technique is applicable and available).
FWIW, I wish that I could use this to monitor/troubleshoot a Production issue (instead of having to reproduce it elsewhere to get this debugger working). |
|
voxeoblehn
|
|
| Hello Mark,
We certainly understand that having to move your applications to our development platform does in fact limit the option of "real time scenario" troubleshooting. However, we limit the ability to debug in production as a best practice rule in order to reduce the possibility of any issue which may impact the flow of production traffic. Wit this in place we significantly reduce the instances of run away sessions, looping, and code issues which may have the potential to disrupt resources. Having said that, persistent logging is available to all customers as well as Support assistance for troubleshooting and detailed log analysis if required. Please let us know if you have any additional questions or concerns with regards to logging. Best Regards, Brian Lehnen Voxeo Support |
| login |
|