Enabling logging in UDB

It is possible to tell UDB to generate extra logging messages which help us better to understand any issues that you find.  Collecting this data before sending us the issue can help us to resolve your issues more quickly.  Enabling additional logging can be done in a number of ways:

  1. Start UDB with the UNDO_debug_level environment variable set to 2.  If UDB is normally started with a command like udb <application>, you would instead use UNDO_debug_level=2 udb <application>.
  2. Logging can also be enabled during runtime. At the (udb) prompt, run maint-undodb-set-log-levels -1 2. This can only be done after the debug session has started.

These options cause additional information to be logged internally, which can then be dumped to files with the maint-undodb-dump-internal-log command.  The log files will have names like undodb_log.<pid>.

There are a few other commands that can provide useful diagnostics and are typed at the (udb) prompt:

  • info proc mappings
    • Lists all the memory maps in use, including any maps created by UDB for its own use.
  • maint-undodb-show-exec-summary
    • Show some statistics relating to UDB's code analysis.
  • maint-undodb-show-snapshots
    • Shows all active snapshots.

If you can send us the log files and the output of these commands, it will help us to identify or rule out any issues with UDB.

Have more questions? Submit a request


Please sign in to leave a comment.
Powered by Zendesk