Avaya Logo

Home

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 same log file used by Avaya IR. They are viewable using the Message Log Report screen under the Reports Administration menu. All <log> tag messages are written as AVB013 messages in the Message Log Report.

See also

� 2003 Avaya Inc. All Rights Reserved.