Hitachi

uCosminexus Service Platform Setup and Operation Guide


7.3.1 Output modes and notes for log files and trace files

The failure information includes information that is output to log files and trace files, which are managed in certain modes, such as rotation and switchover. The following table shows the modes that can be used for log and trace data output by the service platform:

Log type

Rotation method

Method to switch the output destination file

Wraparound mode

Shift mode

Switching with file size

Switching with the file size or at a timing

Message log

HCSC-Manager log

A

N

A

N

Integrated message log

A

Y

A

Y

Activity log of J2EE server

A

Y

A

Y

Request trace

A

Y

A

Y

Performance analysis trace

-

-

-

-

User message trace

A

Y

A

Y

Maintenance log

A

Y

A

Y

Message log for user-authentication information management commands

A

N

A

N

Legend:

A: Can use (default).

Y: Can use.

N: Cannot use.

-: Not applicable.

The following briefly explains the rotation and switchover modes of output-destination files. For details, see 3.2.1 Specifiable contents in the Application Server Maintenance and Migration Guide.

Organization of this subsection

(1) Output-destination file rotation modes

The following table shows the rotation modes:

Rotation method

Description

Wraparound mode(default)

Numbers of files are added to the file name.

(example) When the log file name is "hntrN.log" and the number of files is"2"

Log file name: "hntr1.log", "hntr2.log"

Shift mode

The file name is fixed, and the numbers of files are added to the name of backup files.

(example) When the log file name is "hntr.log", and the number of files is"2"

Log file name: "hntr.log" (fixed)

Backup file name of the log file:"hntr1.log","hntr2.log"

(2) Output-destination file switchover modes

The current log file or trace file switches based on a certain condition. The two switchover modes are as follows:

You need to estimate the proper trace file size. Estimate the total size of trace files based on the following information:

Calculate the total size of files, and then estimate the size of one trace file and the number of files that will be needed based on the calculated total file size.

Set the trace file size and number of trace files in the HCSC server runtime definition file. For details about the file, see 6.5.6 HCSC server runtime definition file in the Service Platform Reference Guide.

(3) Notes on acquisition of log and trace data: General notes

The following notes apply to all logs and traces other than the performance analysis traces:

(4) Notes on acquisition of log and trace data: Notes for only HCSC-Manager logs