Job Management Partner 1/Base User's Guide
You can use the operation log definition file (jp1bs_baselog_setup.conf) to specify JP1/Base for operation log output. This section describes how to specify JP1/Base for operation log output.
- Organization of this subsection
- (1) Setup
- (2) Operation log definition file (jp1bs_baselog_setup.conf) details
(1) Setup
To specify JP1/Base for operation log output:
- Edit the operation log definition file (jp1bs_baselog_setup.conf).
- Execute the jbssetcnf command.
The settings are reflected in the common definition information.
- Enable the setting.
To enable the automatic restart setting, restart JP1/Base or execute the reload command (jbs_spmd_reload).
(2) Operation log definition file (jp1bs_baselog_setup.conf) details
The operation log definition file (jp1bs_baselog_setup.conf) is described in detail below.
(a) Storage destination directory
The operation log definition file (jp1bs_baselog_setup.conf) is in the following location.
- In Windows:
- installation-folder\conf\
- In UNIX:
- /etc/opt/jp1base/conf/
(b) Format
In the operation log definition file (jp1bs_baselog_setup.conf), use the following format to specify whether operation log output is enabled. You can also use this format to specify the output destination and file size of the operation log file (base_log.log), the number of files to be saved, and whether the log file is changed automatically.
"item-name"=value(c) Definition details
The items that can be specified in the operation log definition file (jp1bs_baselog_setup.conf) are described below. Excluding the output destination of the operation log file (base_log.log), specify a hexadecimal value for all. A value in () indicates a decimal value.
- ENABLE
- Specifies whether to enable operation log output. If you specify a number other than the following numbers, the system assumes that the default is specified.
- Initial value: 00000000
- To disable operation log output: 00000000
- To enable operation log output: 00000001
- LOGFILEDIR
- Enter the output path of the operation log file (base_log.log).
- Initial value
In Windows: installation-folder\log\BASE
In UNIX: /var/opt/jp1base/log/BASE
- LOGSIZE
- Specifies the operation log file (base_log.log) size in bytes. If a value smaller than the lower limit of the possible range is specified, the lower limit value is assumed. If a value greater than the upper limit is specified, the upper limit value is assumed.
- Initial value: 00100000 (1,024 KB)
- Possible value range: 00002000 to 00400000 (8 KB to 4,096 KB)
- LOGFILENUM
- Specifies the number of operation log files (base_log.log) to be saved. If a value smaller than the lower limit of the possible range is specified, the lower limit value is assumed. If a value greater than the upper limit is specified, the upper limit value is assumed.
- Initial value: 00000004 (4 files)
- Possible value range: 00000001-00000010 (from 1 to 16 files)
- LOGCHANGEOPT
- Specifies whether to automatically change the log file when JP1/Base starts. If you specify a number other than one of the following, the system assumes the initial value.
- Initial value: 00000000
- Not to be changed at startup: 00000000
- To be changed at startup: 00000001
(d) Operation log definition file definition example
This subsection provides a definition example for when operation log output is enabled. If the ENABLE value is changed to 00000001, the operation log can store no more than 1 megabyte of output, and save no more than four log files.
[JP1_DEFAULT\JP1BASE\BASE_LOG] "ENABLE"=dword:00000001 "LOGFILEDIR"="/var/opt/jp1base/log/BASE" "LOGSIZE"=dword:00100000 "LOGFILENUM"=dword:00000004 "LOGCHANGEOPT"=dword:00000000
All Rights Reserved. Copyright (C) 2009, Hitachi, Ltd.