Setting console logging and tracing options

You change the level and format for logging and tracing with the setdbg command.

When the Streams Debugger starts up, it turns off console tracing for all debug output from the SPLAPPTRC source macro. You change the level and format for logging and tracing as follows:

  • setdbg loglevel 0|1|2|3: Sets the log level. The values are off|error|warn|info.
  • setdbg logformat log|syslog: Sets the log format.
  • setdbg tracelevel 0|1|2|3|4|5: Sets the trace level. The values are off|error|warn|info|debug|trace.
  • setdbg traceformat default|short|long: Sets the trace format.