Log::DestinationLocalSyslog¶
Introduced : BIG-IP_v9.0
The DestinationLocalSyslog interface enables you to modify the local
syslog destination. This destination will format messages to be logged
on the system. There will be only one local syslog destination, and it
cannot be created or deleted. The local syslog destination is named
“local-syslog”. Supply this key to the methods in the interface.
Methods¶
Method | Description | Introduced |
get_default_facility | Gets the default facility for the specified local syslog destination. | BIG-IP_v11.3.0 |
get_default_severity | Gets the default severity for the local syslog destination. | BIG-IP_v11.3.0 |
get_description | Gets the descriptions for the specified local syslog destination. | BIG-IP_v11.3.0 |
get_list | Gets the name of the local syslog destination. It is “local-syslog” by default. | BIG-IP_v11.3.0 |
get_version | Gets the version information for this interface. | BIG-IP_v11.3.0 |
set_default_facility | Sets the default facility for the specified local syslog destination. Syslog messages that come in without a facility specified are given the default facility. See Log::SyslogFacility for more details. | BIG-IP_v11.3.0 |
set_default_severity | Sets the default severity for messages sent to the local syslog destinations. The default severity is the severity given to syslog messages without a severity given. | BIG-IP_v11.3.0 |
set_description | Sets the description for the local syslog destination. This is an arbitrary field which can be used for any purpose. | BIG-IP_v11.3.0 |
See Also¶
iControl ::
Warning
The links to the sample code below are remnants of the old DevCentral wiki and will result in a 404 error. For best results, please copy the link text and search the codeshare directly on DevCentral.
Sample Code¶
The BIG-IP API Reference documentation contains community-contributed content. F5 does not monitor or control community code contributions. We make no guarantees or warranties regarding the available code, and it may contain errors, defects, bugs, inaccuracies, or security vulnerabilities. Your access to and use of any code available in the BIG-IP API reference guides is solely at your own risk.