syslog

This command configures syslog debugging.

Syntax

(config-troubleshoot)# syslog
(syslog)# 

Command

Description

debug-level {basic|detailed|no-debug}

Defines the SIP media gateway's debug level.

debug-level-high-threshold

Defines the threshold for auto-switching of debug level.

ipv6-enable {on|off}

Enables DNS-resolution into IPv6 addresses.

log-level {alert| critical| debug-notrecommended | error| fatal| info-notrecommended | notice| warning}

Defines the minimum severity level of messages included in the Syslog message that is generated by the device

network-source

Defines the alias name representing a VRF or an IP address of the source network interface that is used to bind to the Syslog client.

specific-debug-names-list

Configures a specific debug names list (string).

syslog {on|off}

Enables or disables syslog messages.

syslog-cpu-protection {on|off}

Enables or disables downgrading the debug level when CPU idle is dangerously low.

syslog-ip

Defines the syslog server's IP address or FQDN.

syslog-optimization {disable|enable}

Enables or disables bundling debug syslog messages for performance.

system-persistent-log-size

Defines the maximum size (in KB) of each persistent system log file.

syslog-port

Defines the syslog server's port number.

syslog-protocol {udp|tcp|tls}

Defines the transport protocol for communicating with the primary Syslog server.

syslog-tlscontext

Assigns a TLS Context when the TLS transport protocol is used for communication with the Syslog server.

syslog-servers

Defines multiple secondary syslog servers. For more information, see syslog-servers.

system-log-size

Defines the maximum size (in KB) of the local system log file.

Command Mode

Privileged User

Note

The sequence number is per syslog destination and is reset whenever one of the parameters in the table above is modified. Therefore, it's recommended not to search logged messages by sequence number. Startup logs are indicated with the [Sup] tag.

Example

This example disables syslog:

(config-troubleshoot)# syslog
(syslog)# debug-level no-debug