Filtering the log file – HP Storage Mirroring Software User Manual
Page 404

Workload monitoring
Page 403 of 677
Filtering the log file
Log file output can be filtered using the LogViewer utility. Use the LogViewer command
from the directory where Storage Mirroring Recover is installed.
Command
LOGVIEWER
Description
The Storage Mirroring Recover logging utility that filtersStorage Mirroring
Recover log files
Syntax
LOGVIEWER [-PATH <
path
>] [-TYPE <
number
>] [-INCLUDE <
list
>] [-
EXCLUDE <
list
>] [-NODATE] [-NOTIME] [-NOPID] [-NOTID] [-NOSEQ] [-
NOTYPE] [-NOID] [-HELP]
Options
l
PATH
path
—Specify the full path to the log file
l
TYPE
number
—Allows you to filter the messages that are displayed.
Specify 1 to display warning and error messages or specify 2 to display
warnings, errors, and notifications
l
INCLUDE—Only includes specified IDs. All other IDs will not be
displayed in the output
l
EXCLUDE—Excludes specified IDs. Ignore the specified IDs and
display all others
l
list
—A comma-separated list of IDs or ID ranges that follows the
INCLUDE and EXCLUDE switches. A space should separate the
switch from the list but within the list, there should be no spaces.
Ranges are specified with a begin and end number and separated with
a dash (-).
l
NODATE—Does not display the date in the output
l
NOTIME—Does not display the time in the output
l
NOPID—Does not display the process ID in the output
l
NOTID—Does not display the thread ID in the output
l
NOSEQ—Does not display the sequence number in the output
l
NOTYPE—Does not display the message type number in the output