Cisco Cisco Customer Voice Portal Downloads Note De Mise
C
HAPTER
5:
VXML Server
L
OGGING
U
SER
G
UIDE FOR
C
ISCO
U
NIFIED
CVP
VXML
S
ERVER
AND
C
ISCO
U
NIFIED
C
ALL
S
TUDIO
95
Figure 5-1
Figure 5-1 displays the format for the XML Global Error Logger configuration file. The main tag
for the configuration,
for the configuration,
configuration
, has two attributes,
name
and
version
. Name is expected
to contain the logger instance name. The version is expected to include the version of the
configuration, which is currently “1.0”. The subsequent sections describe the functionality of the
various tags in the configuration.
configuration, which is currently “1.0”. The subsequent sections describe the functionality of the
various tags in the configuration.
Global Error Logger Configuration: Log Details
The
<log_details>
tag controls which errors to log and what information to include about those
errors. The possible child tags are:
•
<stacktraces>
. This optional tag is used to indicate that any Java errors that occur should also
have their stack traces printed in the log. The absence of this tag indicates not to include stack
traces.
traces.
•
<on_hold_calls>
. This optional tag is used to indicate that a call that was put on hold should
be logged. The
application_name
attribute can have the values
true
and
false
,
true
being
to include the name of the application the caller attempted to reach when being put on hold
and
and
false
to not include the application name.
•
<http_parameters>
. This optional tag is used to indicate that an error caused by an
unrecognized URL (such as a request for an application that does not exist) should include the
HTTP parameters passed to the URL. This can be helpful to know since it could help
determine why the request was made. The
HTTP parameters passed to the URL. This can be helpful to know since it could help
determine why the request was made. The
length
attribute provides a limit, in a number of
characters, to be included in the log. This prevents the log from being filled up with too much
parameter data. Note that the parameter data appears on one line, no matter how long.
parameter data. Note that the parameter data appears on one line, no matter how long.