beautypg.com

Configuring the properties of the log file – HP Storage Mirroring Software User Manual

Page 431

background image

429 of 739

Options

PATH

path

—Specify the full path to the log file

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

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,400-500,10000-15000

Notes

The default setting is -type 2 which displays both type 1 and 2 messages.

Configuring the properties of the log file

1. To modify the maximum file size and the number of Storage Mirroring Recover log

files that are maintained, access the Server Properties dialog box by right-clicking
a machine name in the left pane of the Replication Console and selecting
Properties.

2. Select the Logging tab.
3. At the top of the window, Folder indicates the directory where the log files are

located. The default is the directory where the Storage Mirroring Recover program