Logging Tab

Use the following information to enter data in each field of the Logging tab to select the profiler option to use with this session:

Option | Description
--- | ---
No Logging | Select this option to specify that nothing is logged for this session.
Server | Select this option to use logging capabilities of the application server to which you are deploying this application.
Java | Select this option to use `java.util.logging` package.
Standard | Select this option to use the TopLink logging framework. When selected, you can optionally configure the following options.

Logging Level

Define the amount of logging information to record (in ascending order of information):

- Config–Log only login, JDBC connection, and database information.

- Info (default)–Log the login/logout per sever session, with user name. After acquiring the session, detailed information is logged.

- Warning–Log exceptions that do not force TopLink to stop, including all exceptions not logged with Severe level. This does not include a stack trace.

- Severe –Log exceptions indicating TopLink cannot continue, and any exceptions generated during login. This includes a stack trace.

- Fine–Log SQL (including thread information).

- Finer–Similar to warning. Includes stack trace.

- Finest–Includes additional low-level information.

- All–Log everything.

Console | Select this option to display logging information to the standard console output.
File | Select this option to record logging information in a file. Click Browse to specify the name and location of the log file.
Options | Select this option to override additional logging option defaults for Java and Standard logging only.
Log Exception Stack Trace | Select this option to include the stack trace with any exception written to the log. Default: For `SEVERE` messages, log stack trace. For `WARNING` messages, only log stack trace at log level `FINER` or lower.
Print Connection | Select this option to include the connection identifier in any connection related log messages. Default: Enabled for all message and log levels.
Print Date | Select this option to include the date and time at which the log message was generated. Default: Enabled for all message and log levels.
Print Session | Select this option to include the session name in any session related log messages. Default: Enabled for all message and log levels.
Print Thread | Select this option to include the thread name in any thread related log messages. Default: Log only at log level `FINER` or lower.

See Also

  Configuring Logging