Viewing the log files – HP Storage Mirroring Software User Manual

Page 218

Advertising
background image

13

-

38

Viewing the log files

Use the

LogViewer

command from the directory where Storage Mirroring is installed to view a Storage Mirroring log file.

Command

LOGVIEWER

Description

The Storage Mirroring logging utility that records alerts (processing notifications, warnings, and
errors) that occur during
Storage Mirroring processing.

Syntax

LOGVIEWER [-PATH <

path

>] [-TYPE <

number

>] [-INCLUDE <

list

>] [-EXCLUDE <

list

>]

[-NODATE] [-NOTIME] [-NOPID] [-NOTID] [-NOSEQ] [-NOTYPE] [-NOID] [-HELP]

Options

!

PATH

—Allows you to specify a path to the log file

!

path

—Specify the full path to the log file

!

TYPE

—Allows you to filter the messages that are displayed

!

number

—Specify

1

to display warning and error messages or specify

2

to display warnings, errors,

and notifications

!

INCLUDE

—Only includes specified IDs. All other IDs will not be displayed in the output

!

EXCLUDE

—Excludes specified IDs. Ignore the specified IDs and display all others

!

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 (-).

!

NODATE

—Does not display the date in the output

!

NOTIME

—Does not display the time in the output

!

NOPID

—Does not display the process ID in the output

!

NOTID

—Does not display the thread ID in the output

!

NOSEQ

—Does not display the sequence number in the output

!

NOTYPE

—Does not display the message type number in the output

!

NOID

—Does not display the LogViewer ID in the output

!

HELP

—Displays the command options

Examples

!

LogViewer -type 2

!

LogViewer -include 200

Notes

The default setting is

-type 2

which displays both type

1

and

2

messages.

Advertising