You must be authorized to the BPX.SMF profile of the FACILITY
class to write System Management Facility (SMF) records. You can enable
the SMF recording feature to collect execution data by setting a property.
About this task
Authorize the user and the
Liberty server
to write SMF records.
Procedure
- Ensure that the user that runs Liberty server
is authorized to the BPX.SMF profile of the FACILITY class. Use the
following commands:
PERMIT BPX.SMF CLASS(FACILITY) ID(<LIBERTYID>) ACCESS(READ)
SETROPTS RACLIST(FACILITY) REFRESH
- Set the following property in ++WLPUSERDIR++/Servers/++WLPSERVER++/bootstrap.properties of
the Liberty server:
- Edit ++WLPUSERDIR++/Servers/++WLPSERVER++/ra.xml and
modify the config-property with name plugins to
add the following value:
{pluginClass=com.ibm.rules.hbr.smf.SMFPlugin}
Optional:
If you want to write an empty record when there have been no rule
executions during the interval, append the
allowEmpty=yes property
as follows:
{pluginClass=com.ibm.rules.hbr.smf.SMFPlugin,allowEmpty=yes}