beautypg.com

Logviewer log file – HP Storage Mirroring Software User Manual

Page 216

background image

13

-

36

LogViewer log file

Each log file consists of a base name, a series number, and an extension.

!

Base Name

—The base name is determined by the application or process that is running:

!

Series Number

—The series number ranges from

1

to

999

. For example, Storage Mirroring begins logging messages to

dtlog1

. When this file reaches its maximum size, the next log file will be written to

dtlog2

. As long as log messages

continue to be written, files

dtlog3

,

dtlog4

,

dtlog5

will be opened and filled. When the maximum number of files is

reached, which by default is

5

, the oldest file is deleted when the sixth file is created. For example, when

dtlog6

is

created,

dtlog1

is deleted and when

dtlog7

is created,

dtlog2

is deleted. When file

dtlog999

is created and filled,

dtlog1

will be recreated and Storage Mirroring will continue writing log messages to that file. In the event that a file

cannot be removed, its number will be kept in the list, and on each successive file remove, the log writer will attempt to
remove the oldest file in the list.

!

Extension

—The extension for each log file is

.dtl

.

Modifying the log file settings through the Management Console

1.

To modify the maximum file size and the number of Storage Mirroring log files that are maintained, access the Server
Properties dialog box by right-clicking a machine name in the left pane of the Management 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 program files are installed.

4.

Modify any of the options under

Messages and Alerts

, if necessary.

!

Filename

—This field is no longer functional.

!

Maximum Length

—Specify the maximum length of the log file. The default size is

1048576 bytes

and is limited by

the available hard drive space.

!

Maximum Files

—Specify the maximum number of log files that are maintained. The default is

5

and the maximum

is

59391

.

5.

Click

OK

to save the changes.

Component

Log File Base Name

Storage Mirroring

dtlog

Management Console

mc

Failover Control Center

fcc

Text Client

dttxt

Command Line Client

dtcl

Component

Sample Log File Names

Storage Mirroring

dtlog1.dtl

,

dtlog2.dtl

Management Console

mc1.dtl

,

mc2.dtl

Failover Control Center

fcc1.dtl

,

fcc2.dtl

Text Client

dttxt1.dtl

,

dttxt2.dtl

Command Line Client

dtcl1.dtl

,

dtcl2.dtl

NOTE:

If you change the

Maximum Length

or

Maximum Files

, you must restart the Storage Mirroring service

for the change to take effect.