Cisco Cisco Unified Customer Voice Portal 10.5(1) 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
111
•
The cache is set to 10K or 5000 characters and is allocated once at the start of a call.
•
Files that are older than 3 days that appear in the logger instance’s dedicated directory will be
purged.
purged.
Activity Logger Configuration Example #2
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE configuration SYSTEM "../../../../dtds/ActivityLoggerConfig.dtd">
<configuration version="1.0" name="MyLogger2">
<!DOCTYPE configuration SYSTEM "../../../../dtds/ActivityLoggerConfig.dtd">
<configuration version="1.0" name="MyLogger2">
<format delimiter="," remove_delimiter_from_content="false"
date_format="minimal" date_granularity="minutes"/>
<scope
<scope
logging_level="MyLoggingLevel">
<definitions>
<level
<level
name="MyLoggingLevel">
<event
id="start"/>
<event
id="end"/>
<event
id="elementEnter"/>
<event
id="elementFlag"/>
<event
id="elementExit"/>
</level>
</definitions>
</scope>
<rotation>
<by_size
</definitions>
</scope>
<rotation>
<by_size
mb_limit="100"/>
</rotation>
</configuration>
</configuration>
This configuration has the following features:
•
The activity logs will be delimited with a comma and will not remove any commas that
appear in the content potentially complicating any importing of these logs into spreadsheets
or databases.
appear in the content potentially complicating any importing of these logs into spreadsheets
or databases.
•
The activity logs will end each line with the character appropriate for the operating system on
which it is generated. So if this system is running under Windows, the activity logs will look
fine under Notepad and if this system is running under Unix, the activity logs will use the
Unix end of line characters that would not be recognized if opened by Windows Notepad.
which it is generated. So if this system is running under Windows, the activity logs will look
fine under Notepad and if this system is running under Unix, the activity logs will use the
Unix end of line characters that would not be recognized if opened by Windows Notepad.
•
Dates in the activity logs will appear in the minimal format with minute granularity. For
example: “15:45”.
example: “15:45”.
•
Only one logging level is defined that logs when calls enter and exit an application, enter and
exit an element, and when a flag element is visited.
exit an element, and when a flag element is visited.
•
A new activity log is created when the previous one has reached approximately 100MB in
size, regardless on whether the calls spanned weeks or hours.
size, regardless on whether the calls spanned weeks or hours.
•
No logging cache is used, meaning that when a logging event occurs in a call, it is placed into
the activity log immediately. This allows for real-time logging but incurs a performance
overhead in managing much more IO operations.
the activity log immediately. This allows for real-time logging but incurs a performance
overhead in managing much more IO operations.
•
No file purging will take place. The administrator is responsible for maintaining the logs on
the system.
the system.