To configure the LogViewer CLI
Purpose
Perform this procedure to use the LogViewer CLI to configure general CLI options.
Note: The options configured in this procedure apply only to the current LogViewer CLI session.
Steps
|
|
1 |
Open the LogViewer CLI.
|
2 |
To add a file to the list of files in the open menu, perform the following steps:
-
Press ↵ to enter command mode.
-
Enter the following at the root prompt:
include ↵
The following prompt is displayed:
log-include>
-
Enter the following:
add ↵
The following prompt is displayed:
File Name (full path)?
-
Enter the absolute or relative path of the log file that you want to add and press ↵. LogViewer adds the file to the list in the open menu.
Note:
The LogViewer CLI supports file drag-and-drop functionality.
-
Enter the following to return to the root prompt:
root ↵
|
3 |
To configure LogViewer file parsing, perform the following steps:
-
Press ↵ to enter command mode.
-
Enter the following at the root prompt:
options ↵
The following prompt is displayed:
log-options>
-
Enter y ↵ to confirm the action.
-
To specify whether LogViewer parses the entire log file, enter the following:
parseAll ↵
A confirmation prompt is displayed.
-
To force LogViewer to reparse the current log file, enter the following:
reparse ↵
-
If you are prompted to enable parsing of the entire log file, enter y ↵.
-
Enter the following to return to the root prompt:
root ↵
End of steps |