Using Middle-Tier Tracing

Middle-tier tracing uses the package oracle.security.xs. It can be done as follows:

  1. Specify logging options in a property file. For example,

    handlers= java.util.logging.ConsoleHandler
    .level= SEVERE
    java.util.logging.ConsoleHandler.level = FINEST
    java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
    oracle.security.xs.level = FINEST
  2. Apply the preceding configuration during JVM start up.

    java -Djava.util.logging.config.file=logging.properties

    The log output will be generated to the handlers (file, console) specified in the configuration.

Real Application Security user can use mid-tier java API for authentication, authorization, session management, and so forth. In case the user needs to debug on interfacing with mid-tier API, trace can be turned on. The trace can show basic call stacks, function involved, time used, parameters passed, returning value, and so forth.