event-code
This command specifies an event code to add to the log target.
Syntax
event-code code
Parameters
- code
- Identifies the hex value of the event code.
Guidelines
This command allows only messages
that contain specified event codes to be written to the current log
target. Thus, it is possible to create a log target that collects
only messages for a particular set of event codes. For example, Operational
State down.
Use the View List of Event Codes from the GUI to view a list of all event codes.
Example
Create a file-based log target that
contains only XML parser events.
# type file
# event-code 0x00030001
# event-code 0x00030002
# event-code 0x00030003
# event-code 0x00030004
# event-code 0x00030005
# event-code 0x00030006
# event-code 0x00030007
# event-code 0x00030008
# event-code 0x00030009
# event-code 0x0003000a
#