Cisco Cisco Customer Voice Portal Downloads Notas De La Versión

Descargar
Página de 152
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
 
 
 
 
104 
Figure 5-2 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
 
end_of_line
. This optional attribute controls the delimiter used to separate lines. The 
recommended option is to not include the attribute. In this case, the Activity Logger will 
separate lines appropriate to the operating system on which VXML Server is running. Set the 
attribute to explicitly set the new line delimiter. Delimiters can be any string value, though 
typically will be a white space character. 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). 
 
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: 
o
 
standard
. This is a standard readable date format in the form “MM/DD/YYYY 
HH:MM[:SS][.MMM]” where the hour is in 24-hour time and the last three digits are the 
milliseconds. The seconds and milliseconds are displayed with brackets to indicate that 
their appearance are based on the 
date_granularity
 attribute. For a 
date_granularity
 
attribute set to 
minutes
, just the hours and minutes of the time will be displayed. For a 
granularity set to 
seconds
, just the hours, minutes and seconds will be displayed. For a 
granularity set to 
milliseconds
, all components will be displayed.