The logger event publisher logs the output events in XML, text, and JSON formats.
...
For instructions on creating a logger event publisher, see Publishing Events . see Creating Alerts.
Configuring adapter properties
...
Info |
---|
After entering the above adapter properties, select the the Message Format which you want to apply on the published events. Also, click Advanced to define custom output mappings based on the Message Format you you selected. For more information on custom output mapping types, see Publishing Events in Various Event Formats Output Mapping Types. |
You can also d efine the respective adapter properties of the event publisher based on the transport type within the <to>
element of the event publisher configuration in the <PRODUCT_HOME>/repository/deployment/server/eventpublishers/
directory as follows.
...
Adapter Property | Description | Configuration file property | Example |
---|---|---|---|
Unique Identifier | A string of characters to uniquely identify a log entry | uniqueId | log_id |
Related samples
For more information on logger
event publisher type, see the following samples in WSO2 CEP Documentation.