The Extended Log Environment Definition File is a file that defines how to accumulate the SQC extended logs.
To collect the SQC extended logs, an Extended Log Environment Definition File must be set in advance. If no SQC extended log is to be collected, there is no need to set this file.
The Extended Log Environment Definition File is a text file. To create or edit the file, use a text editor such as Notepad. The path of this file is shown below:
[Windows]
<Variable file storage directory>\control\ExtendLogConfig |
[UNIX]
/etc/opt/FJSVssqc/ExtendLogConfig |
A sample Extended Log Environment Definition File is stored in the folder shown below during installation. The user can edit the sample file to create an Extended Log Environment Definition File.
[Windows]
<Installation directory>\sample\ExtendLogConfig |
[UNIX]
/opt/FJSVssqc/sample/ExtendLogConfig |
Character codes are as follows:
[Windows]
ASCII |
[UNIX]
ASCII |
The time stamp for the validity check is written on the first line and last line of the Extended Log Environment Definition File and the definitions of extended logs are written between these lines.
The definition of an extended log is a group (called a definition block in this document) of the following definitions.
Extended log definition block * 1
The overall image within the file is as follows:
Time stamp Extended log definition block Time stamp |
The format of the Extended Log Environment Definition File is shown below:
Basic
Line format | Meaning |
---|---|
[xxxxxxxxxx] | Indicates the beginning of a definition block as well as the end of the previous definition block |
xxxx = xxxxxxxxxx | Indicates parameters in a definition block. '|' means OR, i.e., the parameter on either side can be specified. |
none | A null line is treated as a comment. |
# xxxxxxxxxx | A line beginning with '#' is treated as a comment. |
In the Extended Log Environment Definition File, the extended log definition block should be written in the following format:
Format
[Log] LogfileInterval = day | week(sun|mon|tue|wed|thu|fri|sat) | month(1-31) |
Explanation
[Log]
Indicates the start of an extended log definition block.
If there is no information within the block, the line itself can be omitted.
LogfileInterval
Defines the switching unit of the extended log files. The table below lists the options and their meanings:
Options | Meaning |
---|---|
day | Daily |
week(...) | Weekly |
month(...) | Monthly |
For week, specify the start day of the week in the parentheses using the values listed below:
Option | Meaning |
---|---|
sun | Sunday |
mon | Monday |
tue | Tuesday |
wed | Wednesday |
thu | Thursday |
fri | Friday |
sat | Saturday |
For month, specify the start day of the month in the parentheses using the values listed below. If the specified day does not exist in that month, the last day of the month is used.
Option | Meaning |
---|---|
1 to 31 | Day of the month |
The default is shown below. If the default is to be used, the line itself can be omitted.
LogfileInterval = week(sun)
See
For details of SQC extended log switching, refer to "15.2.5.3 Switching a SQC extended log file over to another".
Note
Before providing the Web page service that collects the SQC extended logs, test the service to ensure the SQC extended logs are actually collected.