Chapter 66 Logs
ZyWALL Series CLI Reference Guide
565
66.1.1 Log Entries Commands
This table lists the commands to look at log entries.
66.1.2 System Log Commands
This table lists the commands for the system log settings.
Table 321 logging Commands: Log Entries
COMMAND DESCRIPTION
show logging entries [priority pri]
[category module_name] [srcip ip] [srcip6
ipv6_addr] [dstip ip] [dstip6 ipv6_addr]
[service service_name] [begin <1..512>
end <1..512>] [keyword keyword] [srciface
interface_name] [dstiface
interface_name] [protocol protocol]
Displays the specified entries in the system log.
pri: alert | crit | debug | emerg | error | info | notice | warn
keyword: You can use alphanumeric and
()+/:=?!*#@$_%-
characters, and it can be up to 63 characters long. This searches the
message, source, destination, and notes fields.
show logging entries field field [begin
<1..512> end <1..512>]
Displays the specified fields in the system log.
field: time | msg | src | dst | note | pri | cat | all
Table 322 logging Commands: System Log Settings
COMMAND DESCRIPTION
show logging status system-log
Displays the current settings for the system log.
logging system-log category
module_name {disable | level normal
| level all}
Specifies what kind of information, if any, is logged in the system log and
debugging log for the specified category.
[no] logging system-log
suppression interval <10..600>
Sets the log consolidation interval for the system log. The no command sets the
interval to ten.
[no] logging system-log
suppression
Enables log consolidation in the system log. The no command disables log
consolidation in the system log.
[no] logging cef-format include
year
Includes the year in the cef (Common Event Format) syslog-compatible
format.
[no] connectivity-check
continuous-log activate
Has the Zyxel Device generate a log for each connectivity check. The no
command has the Zyxel Device only log the first connectivity check.
show connectivity-check
continuous-log status
Displays whether or not the Zyxel Device generates a log for each
connectivity check.
clear logging system-log buffer
Clears the system log.
[no] logging usb-storage
Saves the sytem logs to a USB storage device, if one is connected.
The
[no] command disables this feature.
logging usb-storage category
module_name level {all | normal}
Specifies what kind of information, if any, is logged to the USB storage device
for the specified category.
logging usb-storage delete over-
keep-duration
Deletes all log messages stored on the USB that are older than keep-
duration.
logging usb-storage flushThreshold
<1..100>
Sets how many new log messages must be created on the Zyxel Device
before the new messages are written to the USB storage device.