Cisco Cisco Unified Customer Voice Portal 10.5(1) User Guide

Page of 107
C
HAPTER 
5:
 
V
OICE
XML
 
S
ERVER 
L
OGGING
 
 
V
OICE
XML
 
S
ERVER 
U
SER 
G
UIDE 
 
 
 
FOR 
C
ISCO 
U
NIFIED 
C
USTOMER 
V
OICE 
P
ORTAL 
R
ELEASE 
4.0(1) 
 
 
 
 
 
68
 
Figure 5-1 
Figure 5-1 displays the format for the XML Activity Logger configuration file. The main tag for 
the configuration, 
configuration
, has two attributes, 
name
 and 
version
. Name is expected to 
contain the logger instance name though can be given any name desired. 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. 
Activity Logger Configuration: Format 
The 
<format>
 tag allows for the modification of how the activity log files are formatted. All 
Activity 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), and “\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