JNDI properties for controlling trace output

On all supported platforms, you 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 JNDI properties are applicable to the web application for Application Center services (applicationcenter.war).
Table 1. JNDI property settings for controlling trace output
Property settings Setting Description
ibm.appcenter.logging.formatjson true By default, this property is set to false. Set it to true to format JSON output with blank spaces, for easier reading in log files.
ibm.appcenter.logging.tosystemerror true By default, this property is set to false. Set it to true to print all log messages to system error in log files. Use the property 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 to the log files.