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. |
log-level {alert| critical| debug-not-recommended | error| emergency| info-not-recommended| notice| warning} |
Defines the minimum severity level of messages included in the Syslog message that is generated by the device. Note: It's strongly recommended to leave the syslog severity level at its default setting (i.e., notice) to prevent excessive utilization of the device's resources. Changing severity level is typically done only by AudioCodes Support for debugging. |
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-interface |
Assigns an IP Interface from the IP Interfaces table for communication with the primary syslog server. |
syslog-ip |
Defines the syslog server's address (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. |
system-persistent-log-period |
Defines the maximum age (in minutes) 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-servers |
Defines multiple secondary syslog servers. For more information, see syslog-servers. |
syslog-tls-context-name |
Assigns a TLS Context when the TLS transport protocol is used for communication with the Syslog server. |
system-log-size |
Defines the local system log file size (in Kbytes). |
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