Avaya Logo

Previous Topic

Next Topic

Book Contents

Book Index

Using the <log> tag

You can use the <log> tag in VoiceXML documents to generate logging or debug messages that may be helpful in troubleshooting problems with applications. Logging can also be used to monitor events and take action in applications using asynchronous event nodes.

For example, the command:

<log>Error: <value expr='_event'/>, <value expr='_message'/></log>

could be used to generate errors based on evaluating the _event and _message variables in an application.

Complete information on the <log> tag is in the April 2002 VoiceXML 2.0 draft specification.

Messages generated by using the <log> tag are written to the /voice1/vxml/log.txt file and as AVB013 messages in the Message Log Report. To view this report, use the Message Log Report screen under the Reports Administration menu.

See also

© 2004 Avaya Inc. All Rights Reserved.