Try OpenEdge Now
skip to main content
Debugging and Troubleshooting
Troubleshooting Resources : Logging in OpenEdge : Log size threshold : Specifying the log size threshold
 
Specifying the log size threshold
You can specify the log size threshold by using:
*The Log Threshold (-logthreshold) startup parameter
*The logThreshold and related properties in the ubroker.properties file with OpenEdge Management or OpenEdge Explorer
The following table shows how to specify the log size threshold.
Table 30. Specifying the logsize threshold
Method
General syntax
Example
Startup parameter

-logthresholdn

-logthreshold 2000000
OpenEdge Management or OpenEdge Explorer, or ubroker.properties files


logThreshold= nsrvrLogThreshold = nbrkrLogThreshold = n

logThreshold= 2000000
Note: You can read the log size threshold by using the LOG-THRESHOLD attribute on the LOG-MANAGER system handle.
For a detailed description of the Log Threshold (-logthreshold) startup parameter, see OpenEdge Deployment: Startup Command and Parameter Reference.
For a detailed description of the LOG-MANAGER system handle, see OpenEdge Development: ABL Reference.
For more information on ubroker.properties, see the ubroker.properties.README file in $INSTALLDIR/properties/ubroker.properties.README.
To use OpenEdge Management or OpenEdge Explorer to view and set properties, see Logging settings .
This attribute is read only for the DSLOG-MANAGER system handle due to the multi-user nature of the open log file for DataServers. This value can only be set at client or broker startup.