Cisco Cisco Collaboration Server Dynamic Content Adapter
DCA 2.01 Administration and Configuration Guide
How to Modify Log File Properties 30
How to Modify Log File Properties
As desired, you can modify the default properties for Error and Trace log files.
Editable properties include maximum size, default name, storage location, and the
persistence level of old files.
Editable properties include maximum size, default name, storage location, and the
persistence level of old files.
To Modify Log File Properties
To modify log file properties:
1. In a text editor, open the DCALog.properties file. It is located at:
<DCArootdirectory>\webapp\WEB-INF\Cisco\logs.
2. Edit any of the properties listed in the table below. To modify:
# Error Log properties, edit the properties under the comment heading: #
errorFileAdapter setup
.
# Trace Log properties, edit the properties under the comment heading: #
traceFileAdapter setup
.
3. Save the file.
4. Restart the DCA.
DCA Log Property Descriptions
While the DCALog.properties file contains many settings affecting log behavior,
Cisco recommends that you limit editing of the file to those properties listed below.
Cisco recommends that you limit editing of the file to those properties listed below.
Property: Description:
Default:
dirName
Defines the directory in which the DCA stores log files.
You can change the default to point to any local
directory.
<DCArootdirectory>\weba
pp\WEB-INF\Cisco\logs
fileName
Defines the base name for Error and Trace log files.
errorLog.log and
traceLog.log
maxNumberOfEntries
Defines the maximum number of entries that can be
stored in the Trace or Error log.
When this number is reached, a new log file is started
stored in the Trace or Error log.
When this number is reached, a new log file is started
and the old log file is renamed using an iteration of the
base file name (for example: traceLog1 log
1000
Note: By default, this
Note: By default, this
parameter does not
appear in the file. You
must manually add it