Logging parameters for configuration file
The following table describes how to set the logging parameters for the IXIA CCMS.
Field | Description | Recommended value |
---|---|---|
|
Specifies the number of
days for which logs with prepend dates will be kept. For example, if DaysOfLogToPreserve is set to 7, then the logs from
the past 7 days will be kept. Note that this does not mean that the last
7 files will be kept; for example, if the server was down for two days,
then logs for only five days will be available.
To keep all the logs, enter 0. Note: PrependDate must be set to True to enable this parameter. If PrependDate is set to False, this parameter is ignored. |
Keep the default value: 30 to keep logs for the past 30 days. |
|
Used to trace API calls to the TEXTML Server. When set to True, API calls (for example, GetDocuments) are logged along with the time they took in seconds. Information is written to the file specified with the LogCallsFilename parameter. | Enter False . |
|
Specifies the file name where API call statistics will be logged (the system automatically adds the .txt extension) when the LogCalls parameter is set to True. The TEXTML Server creates the logcalls directory relative to the configuration file's folder. | Enter the name of the log file; for
example: |
|
Specifies the number of
days for which call logs will be kept. For example, if LogCallsDaysToPreserve is set to 30, then the logs
from the past 30 days will be kept. Note that this does not mean that
the last 30 files will be kept; for example, if the server was down for
two days, then logs for only 28 days will be available.
To keep all the logs, enter 0. Note: PrependDate
must be set to True to enable this parameter. If
PrependDate is set to False, this parameter is ignored. |
Keep the default value: 30 to keep logs for the past 30 days. |
Example
<TextmlServer>
<Server>
...
<Log>
<Level>Critical Error Warning</Level>
<Target>File</Target>
<File>log/textml_log.txt</File>
<PrependDate>True</PrependDate>
<DaysOfLogToPreserve>30</DaysOfLogToPreserve>
<TraceIndexOperations>False</TraceIndexOperations>
<SaveFlushStats>False</SaveFlushStats>
<LogCalls>False</LogCalls>
<LogCallsLevel>detailed</LogCallsLevel>
<LogCallsFilename>log/logcalls</LogCallsFilename>
<LogCallsDaysToPreserve>30</LogCallsDaysToPreserve>
<LongCallThreshold>10</LongCallThreshold>
<TimingLevel></TimingLevel>
</Log>
...