Log information definition file
- Organization of this page
Format
log-keep number-of-log-files log-size file-size |
Parameters by type
- Required parameters:
-
None
- Custom parameters:
-
None
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 the file does not exist, the default number of log files and default file size apply. Create and modify the log information definition file (jevlogd.conf), if necessary.
Application of settings
Start the log-file trap management service (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 a definition contains an error, the default applies.
-
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. 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. The default is 1,000,000 (bytes).
Log information is output when the log-file trap management service (or daemon) starts and when an error occurs.
Definition examples
log-keep 5 log-size 65536