Skip Headers

# java.util Logging

Previous

Next

This type of logging makes TopLink conform to the `java.util.logging` package. It is provided by `oracle.toplink.logging.JavaLog`. Logging options are configured in the `<JRE_HOME>``/lib/logging.properties` file. Messages are written to any number of destinations based on this configuration. Example: Sample java.util.logging Log Messages shows a typical `java.util.logging` log message.

For more information on using `java.util.logging` package, see "Configuring a Session to use java.util.logging Package".

Sample java.util.logging Log Messages

    Dec 9, 2003 2:05:05 PM oracle.toplink.loggingTestSession DatabaseSession(32603767) Thread(10)
    INFO: TopLink, version: Oracle TopLink - 10g (10.0.3) Developer Preview (Build 031203)
    Dec 9, 2003 2:05:07 PM oracle.toplink.loggingTestSession.connection DatabaseSession(32603767) Connection(927929) Thread(10)
    CONFIG: connecting(DatabaseLogin(
        platform=>Oracle9Platform
        user name=> "coredev8"
        datasource URL=> "jdbc:oracle:thin:@144.23.214.115:1521:toplink"
    ))Dec 9, 2003 2:05:08 PM oracle.toplink.loggingTestSession.connection DatabaseSession(32603767) Connection(927929) Thread(10)
    CONFIG: Connected: jdbc:oracle:thin:@144.23.214.115:1521:toplink
        User: COREDEV8
        Database: Oracle  Version: Oracle9i Enterprise Edition Release 9.2.0.3.0 - 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
    Dec 9, 2003 2:05:08 PM oracle.toplink.loggingTestSession DatabaseSession(32603767) Thread(10)
    INFO: loggingTestSession login successful