Job Management Partner 1/Base User's Guide
Format
log-keep number-of-log-files
log-size file-size
File name
Storage destination directory
- In Windows:
- installation-folder\conf\event\
- In UNIX:
- /etc/opt/jp1base/conf/event/
Output directory for log files
- In Windows:
- installation-folder\sys\tmp\event\logtrap\jevtraplog\jevtraplog.{000|001|002|003|004}#
- In UNIX:
- /var/opt/jp1base/sys/tmp/event/logtrap/jevtraplog/jevtraplog.{000|001|002|003|004}#
#: Use the log-keep parameter to change the number of log files.
Description
Specifies the file size and number of log files used for log file trapping. The log information definition file (jevlogd.conf) is not provided by default. When this file does not exist, the default number of log files and default file size are assumed. Create and modify the log information definition file (jevlogd.conf), if necessary.
Application of settings
Start the log-file trap management service or daemon to apply the settings.
Definition details
The following conventions apply to entries in the log information definition file (jevlogd.conf):
- A hash mark (#) (code 0x23) at the start of a line indicates a comment.
- Use one or more spaces or tab characters to separate parameters and values.
- Define one parameter per line.
- Do not enter a space or tab before the first parameter in a line.
- You cannot write a comment between a value and the following linefeed character.
- If the definition file contains an error, the default will be used.
- Letters are case sensitive.
- log-keep number-of-log-files
- Specify how many log files to use for log file trapping (jevtraplog.*). The current log file is switched when its size reaches the limit specified in log-size. When the number of log files reaches the maximum you specify here, the oldest file is deleted. In number-of-log-files, specify a number in the range from 0 to 50. If this parameter is omitted, the default is used. The default is 5. When 0 is specified, logs are not kept.
- log-size file-size
- Specify the maximum size of a log file used for log file trapping (jevtraplog.*). In file-size, specify a number in the range from 65536 to 2147483647 bytes. If this parameter is omitted, the default is used. The default is 1000000.
- Log information is output when the log-file trap management service (or daemon) starts and when an error occurs.
Definition examples
The following shows an example of settings in the log information definition file (jevlogd.conf).
log-keep 5 log-size 65536
All Rights Reserved. Copyright (C) 2009, Hitachi, Ltd.