Setting the granularity of log messages
You can configure the number, the size, and the naming of the log files to which Rule Execution Server logs the messages.
About this task
The Rule Execution Server console uses JDK logging. By using the FileHandler class of the JDK logging API, developers can log messages according to message type and level, and control where these messages are reported at run time.
When you use a relative path for the log file, it is relative to the Java virtual machine (JVM) start directory. In some cases, you must use an absolute path, for example if you run Tomcat as a Windows service.
For more information, see the Oracle Technology Network.
Procedure
To modify the log statements in the management EAR:
For example, jrules-res-management-WL12.ear/jrules-res-management.war/WEB-INF/classes/resconsole-logging.properties.
- res-console-logging-file=res-console.log
- res-console-logging-count=2
- res-console-logging-append=false
- res-console-logging-limit=10000000