Try OpenEdge Now
skip to main content
Debugging and Troubleshooting
Troubleshooting Resources : Logging in OpenEdge : Logging levels : Specifying the logging level
 
Specifying the logging level
You can specify the level at which log entries are written to the log file by setting:
*The Logging Level (-logginglevel) startup parameter
*The LOGGING-LEVEL attribute on the LOG-MANAGER system handle
*The loggingLevel and related properties in the ubroker.properties file
The following table shows how to specify logging levels.
Table 36. Specifying logging levels
Method
General syntax
Example
Startup parameter
-logginglevellevel
-logginglevel 2
LOG-MANAGER system handle
LOG-MANAGER:LOGGING-LEVEL
= level
LOG-MANAGER:LOGGING-LEVEL = 2
OpenEdge Management or OpenEdge Explorer, or ubroker.properties files
loggingLevel =
levelsrvrLoggingLevel = levelbrkrLoggingLevel = level
logginglevel = 2
DSLOG-MANAGER system handle
DSLOG-MANAGER:LOG-ENTRY-TYPES
"log-entry-type[:level]"
DSLOG-MANAGER:LOG-ENTRY-TYPES = "Cursor,DS.Interface:3"
For a detailed description of the Logging Level (-logginglevel) 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 .
For information about specifying logging level for the server context of DataServers, see OpenEdge Data Management: DataServer for Microsoft SQL Server, and OpenEdge Data Management: DataServer for Oracle.