trace.ini

The trace.ini file can be found in the <node>/conf directory.

# Fulfillment Provisioning Trace File Writer Configuration File
#
# $Revision: 1.1.2.2 $ $Date: 2011-02-22 17:09:33 $
# this cfg_name is used in provhead - so do not change cfg_name
# feel free to change the remaining non key config parameters
#
[ traceFileWriter : logservice::FileWriterConfig ]
cfg_name=orderTracing
cfg_fileCount=0
cfg_maxFileSize=10000
cfg_maxFileCount=0
cfg_maxFileTime=0
cfg_flushFrequency=100
cfg_outputDir=./

The following table describes the parameters that can be used in the trace.ini file:

Parameter Description
cfg_fileCount Number optionally used in filename and automatically incremented with each use modulo maxFileCount. See FileWriterImpl::newFileName for a description of how the filename is constructed. Default value on creation is zero.
cfg_flushFrequency Number of write calls before the buffered data is written to the file system. Controls buffering of messages. A higher flushFrequency may improve overall performance. Default value on creation is 100 if no configuration file exists. If a zero is entered in the file then the default value in the code is used.
cfg_maxFileCount Maximum number of files that this filewriter will leave on the file system. When creating a file would exceed this count, the oldest file created by this FileWriter is deleted from the file system. A value of zero indicates no maximum will be enforced. The default value on creation is zero.
cfg_maxFileSize Maximum file size in KBytes. When appending a record causes the file size to exceed this size, the file is closed; the next write opens a new file. A value of zero indicates no maximum will be enforced. The default value on creation is zero.
cfg_maxFileTime Maximum file time in seconds. When a file is opened, a recurring timer with frequency GFileTimerFrequency starts. When the accumulated time exceeds maxFileTime, the file is closed and the next write will open a new file. A value of zero indicates no maximum will be enforced. The default value on creation is zero
cfg_maxFileTime Maximum file time in seconds. When a file is opened, a recurring timer with frequency GFileTimerFrequency starts. When the accumulated time exceeds maxFileTime, the file is closed and the next write opens a new file. A value of zero indicates no maximum will be enforced. The default value on creation is zero.
cfg_name Name of this FileWriter instance the configuration object refers to. This is the primary key.
cfg_outputDir Output directory for this FileWriter instance. The outputDir is prepended to the name to fully specify the file. A directory separator is inserted if needed. See FileWriterImpl::newFileName for a description of how the filename is constructed. Default value is ./.