Skip Headers

# Namespace

Previous

Next

Namespace is supported for `java.util.logging`. Table: Logging Property FIle Names lists the static constants defined in `oracle.toplink.logging.SessionLog` for TopLink components and the corresponding strings in `logging.properties`.

Logging Property FIle Names

SessionLog | logging.properites
--- | ---
Not Applicable | `oracle.toplink`
Not Applicable | `oracle.toplink.<sessionname>`
`SQL` | `oracle.toplink.<sessionname>.sql`
`TRANSACTION` | `oracle.toplink.<sessionname>.transaction`
`EVENT` | `oracle.toplink.<sessionname>.event`
`CONNECTION` | `oracle.toplink.<sessionname>.connection`
`QUERY` | `oracle.toplink.<sessionname>.query`
`CACHE` | `oracle.toplink.<sessionname>.cache`
`PROPAGATION` | `oracle.toplink.<sessionname>.propagation`
`SEQUENCING` | `oracle.toplink.<sessionname>.sequencing`
`EJB` | `oracle.toplink.<sessionname>.ejb`

In the `logging.properties` names listed in Table: Logging Property FIle Names, note that `<sessionname>` is the name of the session that the application is running in. For example, if the name of the session is `MyApplication`, then you would use `oracle.toplink.MyApplication.sql` for the SQL logging property.

An application can also define its own namespace and write to it through the logging API, as long as the logger for that namespace is defined in the logging configuration. Otherwise messages are written to the parent logger, `oracle.toplink.<sessionname>`.