
Chapter 17 Log Commands
X6004 CLI Reference Guide
85
17.3 Syslog Server Commands
The following table describes commands related to the syslog functions on the X6004.
17.3.1 Syslog Server Command Examples
This example:
• Activates sending logs to remote syslog server with the IP address 172.23.37.209.
• Specifies the category user and level all logs to be sent to this syslog server.
• Specifies the category ippbx and level all logs to be sent to this syslog server.
Table 44 Syslog Server Commands
COMMAND DESCRIPTION
log set logging syslog <1~4> Activates the specified external syslog profile.
log set logging syslog <1~4> address
<hostname>
Specifies the IP address or domain name of the specified
syslog server.
log set logging syslog <1~4> category
<ippbx|user|myzyxel-dot-com|default|all>
disable
Disables logging the chosen category for the specified
syslog server.
log set logging syslog <1~4> category
<ippbx|user|myzyxel-dot-com|default|all>
level <normal|all>
Specifies the category and level for log messages sent to
this external syslog server.
log set logging syslog <1~4> facility
<local_1|local_2|local_3|local_4|local_5
|local_6|local_7>
Specifies the facility to send the logs to for this external
syslog server.
log del logging syslog <1~4> Deactivates the specified syslog server.
log del logging syslog <1~4> address Clears the external syslog server address of the specified
server.
log del logging syslog <1~4> category
<ippbx|user|myzyxel-dot-com|default|all>
Resets the category for sending logs to the specified
syslog server.
log del logging syslog <1~4> facility Resets the facility of the specified syslog server.
log show logging status Displays the current settings for the system log, mail log
and remote syslog.
log show logging status
<syslog|mail|system-log>
Displays the current settings for the specified logging
configuration.
Comentários a estes Manuais