Logging options
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
When connecting to a client with the -Dsrv switch, you can specify logging options. Use logginglevel to define the granularity of your log reports, and use logentrytypes to specify the types of entries to be included in the log. For more information on logging, see Analyzing application execution with Enhanced Logger.
The following example demonstrates the use of the logginglevel parameter:
|
This next example demonstrates the use of the logentrytypes parameter:
|
In the above example, the Trans log entry type
inherits the default logging level of 2 unless
the logginglevel -Dsrv switch is also specified
as a startup parameter - in which case that logging level would
be set generically for all log entry types: SQL, Cursor and Trans.