PreviousNextIndex

LOG-THRESHOLD attribute

The file size threshold of log files. When the current log file becomes equal to or greater than the specified size, the AVM renames and saves the log file and creates a new log file.

Data type: INTEGER

Access: Readable

Applies to: DSLOG-MANAGER system handle, LOG-MANAGER system handle

Valid values are:

The AVM names log files controlled by either the DSLOG-MANAGER or LOG-MANAGER system handles based on a sequence number using the following format:

filename.999999.extension 

For example, if you specify a log file named my.log, the AVM renames the log file to my.000001.log before creating a new log file.

For the LOG-MANAGER system handle, the LOG-THRESHOLD attribute corresponds to the Log Threshold (-logthreshold) startup parameter. For the DSLOG-MANAGER system handle, this attribute corresponds to the Log Threshold (-logthreshold) startup parameter when the client is self-service or client/server using ProBroker. For DataServer Broker instances of the Unified Broker, the LOG-THESHOLD attribute corresponds to the srvrLogThreshold attribute defined by the DataServer Broker instance in the ubroker.properties file.

To specify a log file name for ABL clients, use the LOG-MANAGER system handle’s LOGFILE-NAME attribute or the Client Logging (-clientlog) startup parameter. Use the LOG-MANAGER system handle’s NUM-LOG-FILES attribute or the Number of Log Files to Keep (-numlogfiles) startup parameter to specify the number of log files to keep.

For DataServers, use the DataServer Logging (-dslog) startup parameter to specify a log file name.

Note: The DSLOG-MANAGER system handle’s LOGFILE-NAME attribute is read-only.

For more information about the Client Logging (-clientlog), DataServer Logging (-dslog), Log Threshold (-logthreshold), and Number of Log Files to Keep (-numlogfiles) startup parameters, see OpenEdge Deployment: Startup Command and Parameter Reference, OpenEdge Data Management: DataServer for Microsoft SQL Server, and OpenEdge Development: Debugging and Troubleshooting.


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex