User log definition file (jp1informperiod.conf)
- Organization of this page
Description
This file defines whether to output the execution results of the jssinformperiod command to the log file (jssinformperiod_infonumber.log) which is open to users , specifies the size of the log file, and the number of log files. By default, the execution results are set to be output. If you want the jssinformperiod command to be executed automatically when JP1/Service Support - Task Service service starts, set the execution results to be output to the log file.
Format
;comment [LOG] INFORM_LOG=output-or-not-output-log-files INFORM_FILESIZE=size-of-the-log-file INFORM_FILENUM=number-of-log-files
Lines starting with a semicolon (;) are treated as comments.
File names
-
jp1informperiod.conf (User log definition file)
-
jp1informperiod.conf.model (Model file of the User log definition file)#
- #
-
You can use the model file to reset the contents of the User log definition file. To do so, delete the existing User log definition file, then copy and rename the model file.
Storage folder
IM-SS-path\conf\command\
When the definition is applied
The definition is applied after the following JP1/IM - Service Support services are restarted:
-
JP1/Service Support - Web Service
-
JP1/Service Support
What is described
You can specify the specification keys described in the table below. Use an equal sign (=) to connect a specifiable key and its value.
Specification key name |
Description |
Default value |
---|---|---|
INFORM_LOG |
Specifies whether to output the log file (jssinformperiod_infonumber.log). If the setting is invalid, the log file is not output. Output destination folder: IM-SS-path\log\public\ Specify Y (Output) or N (Do not output the log). |
Y |
INFORM_FILESIZE |
Specifies the size of the log file (jssinformperiod_infonumber.log) in kilobytes. Specify a half-width integer from 4 to 16384. |
8192 |
INFORM_FILENUM |
Specifies the number of log files (jssinformperiod_infonumber.log). Specify a half-width integer from 1 to 64. |
2 |
Messages output to a log file
For details about the messages output to log files, see 13.1 Output destinations for messages.
Notes
-
When the log files are set to be output, the mmap folder is created under the log file output destination folder (IM-SS-path\log\public\). If you want to change the size of the log files and the number of log files after operation starts, delete the mmap folder. The changes will not take effect if you do not delete the folder.
-
The User log definition file (jp1informperiod.conf) must be created or edited with a character encoding that is compatible with the system locale of the machine on which JP1/IM - Service Support is installed. You can use one of the following character encodings:
-
In a Japanese environment: MS932
-
In an English environment: ISO-8859-1
-
In a Chinese environment: GB18030
-
Definition example
The following example sets the log file to be output. It changes the log file size to 10 megabytes (10,240 kilobytes), and the number of log files to four.
[LOG] INFORM_LOG=Y INFORM_FILESIZE=10240 INFORM_FILENUM=4