You can set the JDK logger, the XU logger, and Java™ SE rule sessions to write no logging information
to the execution traces when rulesets are executed in a Java SE environment.
About this task
By default, Java SE
rule sessions generate log traces through three different processes.
To remove any trace, you must disable the JDK logger, the XU logger,
and the logger that you might have attached to instances of stateless Java rule session factories.
Procedure
- Disable the JDK logging service in one of the following
ways:
For more information about Java logging,
refer to the Sun Developer Center.
- In the ra.xml file, set the traceLevel parameter
to OFF.
If you disable the JDK
logging service and the execution trace, some information is still
logged. To log nothing at all, use the API for rule session factories
in a Java SE context.
- Pass the null value to the IlrJ2SESessionFactory constructor
on stateless Java rule session
factories.
IlrJ2SESessionFactory sessionFactory = new IlrJ2SESessionFactory(null);