User log definition file (jp1itemimportEx.conf)
- Organization of this page
Description
This file defines the size of the log file and the number of log files when the execution results of the jssitemimportEx (imports extended Item information) command are output to the log file (jssitemimportEx_infonumber.log) which is open to users.
Format
;comment [LOG] IMPORTEX_FILESIZE=size-of-the-log-file IMPORTEX_FILENUM=number-of-log-files
Lines starting with a semicolon (;) are treated as comments.
File names
-
jp1itemimportEx.conf (User log definition file)
-
jp1itemimportEx.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 to JP1/IM - Service Support when the jssitemimportEx (imports extended Item information) command is executed.
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 |
---|---|---|
IMPORTEX _FILESIZE |
Specifies the size of the log file (jssitemimportEx_infonumber.log) in kilobytes. Specify a half-width integer from 4 to 16384. |
8192 |
IMPORTEX _FILENUM |
Specifies the number of log files jssitemimportEx_infonumber.log). Specify a half-width integer from 1 to 64. |
8 |
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 file is 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, delete the mmap folder. The changes will not take effect if you do not delete the folder.
-
The User log definition file (jp1itemimportEx.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 definition example below shows an example when the log file size and the number of log files are changed. It changes the log file size to 10 megabytes (10,240 kilobytes), and the number of log files to 10.
[LOG] IMPORTEX _FILESIZE=10240 IMPORTEX _FILENUM=10