To define how the activity of JDK processes is logged,
you can create a properties file.
About this task
You can enable log traces for the JDK activity independently
of the execution unit (XU) logger in a properties file.
Procedure
- Create a .properties file.
This
is a plain text file, as specified by the Java™ API. You can give it any name, for example
here logging.properties. In this file, you can
specify handlers and logging levels.
- Set the logging level to one of the values that are available
in the Java API.
For example, you can set the default log level for the root
logger as follows: .level = ALL
- Run your rule application with option
-Djava.util.logging.config.file=<properties_file_name> so
that the configuration is taken into account. For
example: -Djava.util.logging.config.file=logging.properties