First page Back Continue Last page Text

oracle adf workshop

Notes:


Logging and Diagnostics

Java and Oracle provide logging frameworks:

The Java logging framework, introduced in JDK 1.4, provides extensive logging APIs through the java.util.logging package. You can find an overview of the java.util.logging package at http://java.sun.com/j2se/1.4.2/docs/api/overview-summary.html. For an overview of the Java logging framework, visit http://java.sun.com/j2se/1.4.2/docs/guide/util/logging/overview.html.

Oracle’s logging framework complements the standard Java framework to automatically integrate log data with Oracle log analysis tools. In the ODL framework, log files are formatted in XML, enabling them to be more easily parsed and reused. The ODL framework provides support for managing log files, including log file rotation. The maximum log file size and the maximum size of log directories can also be defined.