Skip Headers

# TopLink Native Logging

Previous

Next

TopLink native logging is the default session log type. It is provided by `oracle.toplink.logging.DefaultSessionLog`. Example: Sample TopLink Log Message shows a typical TopLink native log message.

You can configure TopLink native logging options using TopLink Workbench (see "Using TopLink Workbench").

Sample TopLink Log Message

    [TopLink Info]: DATE
    TIME-DatabaseSession(12345)-Thread(12345)-TopLink, version: Oracle TopLink - 10g (Build 031203)
    [TopLink Config]: DATE
    TIME-DatabaseSession(12345)-Thread(12345)-Connection(12345)-
      connecting(DatabaseLogin(
                 platform=>Oracle9Platform
                 user name=> "username"
                 datasource URL=> "jdbc:oracle:thin:@144.23.214.115:1521:toplink"
    ))
    [TopLink Config]: DATE
    TIME-DatabaseSession(12345)-Thread(12345)-Connection(12345)-
      Connected: jdbc:oracle:thin:@144.23.214.115:1521:toplink
      User: USERNAME
      Database: Oracle Version: Oracle9i Enterprise Edition - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.3.0 - Production
      Driver: Oracle JDBC driver Version: 9.2.0.3.0
    [TopLink Info]: DATE
    TIME-DatabaseSession(12345)-Thread(12345)-loggingTestSession login
    successful