+

Search Tips | Advanced Search

For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.


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 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 Set 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.

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