User's Manual

Chapter 3 - Operation and Administration Using the CLI NPU Configuration
4Motion 349 System Manual
When you run this command, all the log messages are displayed. (4Motion
maintains a maximum of 1000 log and trace messages.) If you want to filter log
messages to be displayed, run the following command to specify the filter criteria:
npu# show logs [filter | grep <string>]
For example, if you want to view log messages pertaining to only Error logs, run
the following command:
npu# show logs filter|grep ERROR
3.3.12.1.4 Displaying the Current Log Destination
To view the current log destination, that is, whether logs are written to file or an
external server, run the following command:
npu# show log destination
IMPORTANT
An error may occur if:
There are no logs to be displayed.
The log files are inaccessible or an internal error occurred while processing the result.
Command
Syntax
npu# show logs [filter | grep <string>]
Privilege
Level
1
Syntax
Description
Parameter Description Presence Default
Value
Possible
Values
[filter | grep
<string>]
Indicates the criteria for
filtering the log messages to
be displayed.
Optional N/A String
Command
Modes
Global command mode