Try OpenEdge Now
skip to main content
Debugging and Troubleshooting
Troubleshooting Resources : Logging in OpenEdge : Log entry types : Specifying log entry types
 
Specifying log entry types
You can specify one or more log entry types to write to the log file by using:
*The Log Entry Types (-logentrytypes) startup parameter
*The LOG-ENTRY-TYPES attribute on the LOG-MANAGER system handle
*The logEntryTypes and related properties in the ubroker.properties file
The following table shows how to specify log entry types.
Table 34. Specifying log entry types
Method
General syntax
Example
Startup parameter
-logentrytypeslog-entry-type[:level]
-logentrytypes 4GLTrace:2,DynObjects.*:3
LOG-MANAGER system handle
LOG-MANAGER:LOG-ENTRY-TYPES
= "log-entry-type[:level]"
LOG-MANAGER:LOG-ENTRY-TYPES = "DB.Connects,4GLTrace:2,DynObjects.UI:3"
OpenEdge Management or OpenEdge Explorer, or ubroker.properties files
logEntryTypes = "log-entry-type[:level]"srvrLogEntryTypes = "log-entry-type[:level]"brkrLogEntryTypes = "log-entry-type[:level]"
logEntryTypes = "DB.Connects,4GLTrace:2,DynObjects.UI:3"
DSLOG-MANAGER system handle
 
DSLOG-MANAGER =
"log-entry-type[:level]"
DSLOG-MANAGER:LOG-ENTRY-TYPES = "Cursor,DS.Interface:3"
For a detailed description of the Log Entry Types (-logentrytypes) 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 log entry types for the server context of DataServers, see OpenEdge Data Management: DataServer for Microsoft SQL Server, and OpenEdge Data Management: DataServer for Oracle.