You can configure QMS to log a message each time it activates a particular rule in the Promotion Agentstore. QMS uses IDOL document tracking functionality to log a message when a rule is activated.
Alternatively, you can use document tracking (with a Lua script) to send information to a Statistics Server, so that you can monitor the most frequently used rules. For more information about sending data to Statistics Server, see Record Statistics with Statistics Server.
To configure QMS to log rule usage
QMS only writes log messages about rule activations when document tracking is configured to send events to the log. In the [DocumentTracking]
section, set the Backend
parameter to Log
. For example:
[DocumentTracking] Backend=Log
In the [Logging]
section, configure a new log stream to log the events. Set LogTypeCSVs
to Events
. For example:
[Logging]
...
0=ApplicationLogStream
1=QueryLogStream
2=EventsLogStream [EventsLogStream] LogFile=events.log LogTypeCSVs=events
For information about the other configuration parameters you can set to configure logging, refer to the QMS Reference.
|