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:
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.