DiagMaxFileSizeKB

Maximum size of the diagnostic log file.

Value

Positive integer.

Default

1024 (KB)

How to set

As an environment variable.

In the SpeechWorks.cfg configuration file.

If both locations are defined, the environment variable is used rather than the value in the configuration file.

Usage

Frequently used by system administrators during the initial installation of the system.

When the file reaches the maximum size, the system relabels it as the backup and starts a new file. The maximum file size supported is 2 GB. The diagnostic log file will roll over at this size even if DiagMaxFileSizeKB is set to a larger value.

This file rolls over once, so there is at most only one backup at a time. See Setting the maximum size for log file rollover.

See Configuring Recognizer diagnostic logging.

Related parameter