Event Log Mode <event_log>
Determine which (if any) subscriber events to save in memory and/or log to disk.
When configured in "all" or "when error", dsTest will save ALL subscriber activity (message only included if enabled explicitly) to a buffer.
When configured as "all", the buffer is dumped to disk when full or the subscriber is deleted/deprovisioned.
When configured as "when error", the buffer is full, it is dumped to disk if an error has occurred, otherwise it is wrapped by 50%.
When configured as "per subscriber", data storage/retrieval is controlled by the event_logging config/command on the database element and the data is never logged to disk.
By default the buffer size is 1024 bytes per subscriber (8192 bytes if message logging enabled).
Example to display event log for subscriber 1: spr:spr_1 subscriber_database event_logging:start:1
Example to configure event logging for subscriber 1: spr:spr_1 subscriber_database event_logging:start:1 true
Type:
EventLogTypeDefault:
noneATTRIBUTES |
|
include_messages | flagType |
buffer_size | uint16Type |
PARENT ELEMENTS |
Parent |
Type |
Global Configuration <global_subscriber_config> | GlobalSubConfigType |
Global Configuration <global_subscriber_config> | GlobalSubCommandType |