fwriter.ini

cfg_fileCount

The fwriter.ini file is used to configure the cartridge log files, cartAdmin*.log and cartOrderTracing*.log. If the fwriter.ini file does not exist, Fulfillment Provisioning uses the defaults listed in the following table.

parameter Default Value
cfg_fileCount Default value on creation is zero.
cfg_flushFrequency Default value on creation is 1, meaning every write writes to the file system.
cfg_maxFileCount The default value on creation is zero.
cfg_maxFileSize The default value on creation is zero.
cfg_maxFileTime The default value on creation is zero.
cfg_outputDir Default value is "./".

Number optionally used in file name, and automatically incremented with each use. For a description of how the filename is constructed, refer to the component documentation for FileWriterImpl?::newFileName.

Number of write calls before the buffered data is written to the file system. It controls buffering of messages. A higher flushFrequency may improve overall performance.

Maximum number of files that the Filewriter will leave on the file system. On creation, if a file would exceed this count, the oldest file created by the FileWriter is deleted from the file system. A value of zero indicates no maximum will be enforced.

Maximum file size in KB. If the file size exceeds this size, the file is closed and a new file is opened. A value of zero indicates no maximum will be enforced.

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. The next write will open a new file. A value of zero indicates no maximum will be enforced.

Output directory for this FileWriter instance. The outputDir is prefixed to the name to fully specify the file. See FileWriterImpl?::newFileName for a description of how the filename is constructed.