object
This command adds an object filter to the current log target.
Syntax
object type [name]
Parameters
- type
- Specifies an object type. This filter restricts messages to only messages for that object type.
- name
- Optional: Specifies the name of an instance of the selected object type.
Guidelines
Use the object command to enable a finer granularity of log content.
Object filters
allow only those log messages that are generated by specific objects
to be written to the log target. Object filters are based on object
type and based on specific instances of that object type. Therefore,
you can create a log target to collect log messages for an instance
of a particular object type. For example, you can create a log target
to write messages for the xyz
service. Omit the instance
name to filter on all instances of the specified type.
Examples
- Add an object filter to log messages for the
domain-3
domain.# object domain domain-3 #
- Add an object filter to log messages for the
Gateway-1
Multi-Protocol Gateway.# object XSLProxy Proxy-1 #