Previous Topic: Servlet Defaults

Next Topic: Enable CXF Logging

REST Logging

REST uses the pdm_rest_util.jar and rest-core.jar packages, which contain log4j logging support. These components do not write any messages to the standard logs (stdlog.*), but through the log4j component. By default, these packages log INFO, ERROR, and WARN messages. Because the Java packages use the same log4j configuration properties file, each logs messages to the same output file. You view the rest.log4j.properties file in the $NX_ROOT\site\cfg\ directory.

To increase the log level to trace or debug, update the following section in the rest.log4j.properties file:

log4j.rootCategory=debug, jrestlog

Locate the output file, as defined in the configuration properties file in the following directory:

$NX_ROOT\log\jrest.log