Cisco Cisco Customer Voice Portal 8.0(1) User Guide

Page of 157
Figure 22: Error Logger Configuration Format
The main tag 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.
Error Logger Configuration: Format
The 
<format>
 tag allows for the modification of how the error log files are formatted. All
Error Logger configurations are required to define a format. The possible attributes are:
delimiter – This required attribute defines the delimiter to use to separate columns on a line.
Delimiters can be any string value, though typically will be a comma or tab. To use a special
white space character such as a new line or tab, use the escaped version.
The possible values are:
\n (denoting a new line)
\t (denoting a tab)
\r (denoting a return)
\f (denoting a line feed)
remove_delimiter_from_content – When this required attribute is set to true, the Activity
Logger will attempt to eliminate the delimiter from any content appearing in the logs to
ensure that the log file can be imported flawlessly. For example, if the delimiter is a comma
and the configuration is set to remove the delimiter, when it is to log the content This, is the
description
, it will appear in the log as This is the description so as not to affect the accuracy
of the importing process. This extra step, though, does incur a slight performance hit. This
step will not be performed if this attribute is set to false.
Note: Should the error log contain Java stack traces, the error logs could be difficult to import
as stack traces fill multiple lines (though their content will be cleaned of the delimiter if
desired).
date_format and date_granularity – These required attributes set how the second column
of the activity log references a date when the event occurred. The format and granularity are
specified.
There are three possible values for the 
date_format
 attribute:
User Guide for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 8.0(1)
117
Chapter 5: VXML Server Logging
Application Loggers