
Chapter 36 Logs
36.1.1 Log Entries Commands
This table lists the commands to look at log entries.
Table 138 logging Commands: Log Entries
COMMAND | DESCRIPTION |
show logging entries [priority pri] [category | Displays the selected entries in the system log. |
module_name] [srcip ip] [dstip ip] [service | PRI: alert crit debug emerg error info notice |
service_name] [begin <1..512> end <1..512>] | warn |
[keyword keyword] | 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 | Displays the selected fields in the system log. |
<1..512> end <1..512>] | field: time msg src dst note pri cat all |
36.1.2 System Log Commands
This table lists the commands for the system log settings.
Table 139 logging Commands: System Log Settings
COMMAND | DESCRIPTION |
show logging status | Displays the current settings for the system log. |
logging | Specifies what kind of information, if any, is logged |
{disable level normal level all} | in the system log and debugging log for the |
| specified category. |
[no] logging | Sets the log consolidation interval for the system |
<10..600> | log. The no command sets the interval to ten. |
[no] logging | Enables log consolidation in the system log. The |
| no command disables log consolidation in the |
| system log. |
[no] | Has the NXC generate a log for each connectivity |
activate | check. The no command has the NXC only log the |
| first connectivity check. |
show | Displays whether or not the NXC generates a log |
| for each connectivity check. |
clear logging | Clears the system log. |
242 |
| |
NXC CLI Reference Guide |
| |
|
|
|