+

Search Tips   |   Advanced Search

JNDI properties for controlling trace output

On all supported platforms, we can use Java Naming and Directory Interface (JNDI) properties to format and redirect trace output for Application Center, and to print generated SQL statements.

The following table shows the applicable properties and settings.

Property settings Description
ibm.appcenter.logging.formatjson=true This setting uses white space to format the JSON output for easier reading in log files.
ibm.appcenter.logging.tosystemerror=true This setting prints all log messages to system error in log files. It enables you to turn on logging globally.
ibm.appcenter.openjpa.Log=DefaultLevel=WARN, Runtime=INFO, Tool=INFO, SQL=TRACE This setting prints all the generated SQL statements in the log files.


Parent topic: Set logging and tracing for Application Center on the application server