Skip Headers

# Viewing TopLink Log Messages From the Application Server Control Console

Previous

Next

You can view TopLink log messages using Oracle Enterprise Manager 10g.

If you are using TopLink native logging (to a file) or `java.util.logging` package, edit the `<``OC4J_HOME``>\toplink\config\TOPLINK.xml` file `log` element attribute `path` to match the log output file you specified in your session (see "Configuring Logging"), or in the `<``JRE_HOME``>/lib/logging.properties` file (see "Configuring a Session to use java.util.logging Package"). Example: Default TOPLINK.xml File shows the default `TOPLINK.xml` file:

Default TOPLINK.xml File

    <?xml version="1.0" encoding="UTF-8" ?>
    <logs xmlns="http://www.oracle.com/iAS/EMComponent/ojdl">
        <log path="toplink/config/toplink.log" componentId="TOPLINK">
            <logviewer LogType="ERROR" />
        </log>
    </logs>

If you are using server logging, you do not need to configure the `<``OC4J_HOME``>\toplink\config\TOPLINK.xml` file: in this case, it is not used. Instead, all TopLink log messages are written to the OC4J log file (which you can also view from the application server control console).

For more information, see the Oracle Application Server Administrator's Guide.