Defining Audit Trail Entries
User-defined audit trail entries must be pre-defined in all of the SWDIR/etc/language.lng/auditusr.mes files. You must create these files if you want to define your own audit trail messages.
|
Note |
System audit trail messages are defined in the |
User-defined audit trail entries must be defined using the format:
eventnum:event_description
where:
| • | eventnum is the decimal number which identifies the entry, as referenced by the eventnum parameter in the swutil AUDIT command. See Create a User-Defined Audit Trail Entry. |
eventnum must be 256 or higher. (Numbers 0 to 255 are reserved for use by iProcess, and are defined in the SWDIR/etc/language.lng/audit.mes file.)
| • | event_description is a message string which describes the event. It can contain the strings %user and %desc, which are replaced by the desc and user strings supplied in the swutil AUDIT command. See Create a User-Defined Audit Trail Entry. |