User log definition file (jp1itemexportEx.conf)
- Organization of this page
Description
This file defines whether to output the execution result of the jssitemexportEx (exports extended Item information) command to the log file (jssitemexportEx_infonumber.log) which is open to users, the size of the log file, and the number of log files. By default, the file is set to be output.
Format
;comment [LOG] EXPORT_LOG=output-or-not-output-log-files EXPORT_FILESIZE=size-of-the-log-file EXPORT_FILENUM=number-of-log-files
Lines starting with a semicolon (;) are treated as comments.
File names
-
jp1itemexportEx.conf (User log definition file)
-
jp1itemexportEx.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 jssitemexportEx (exports 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 |
---|---|---|
EXPORT_LOG |
Specifies whether to output the log file jssitemexportEx_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 |
EXPORT_FILESIZE |
Specifies the size of the log file (jssitemexportEx_infonumber.log) in kilobytes. Specify a half-width integer from 4 to 16384. |
8192 |
EXPORT_FILENUM |
Specifies the number of log files (jssitemexportEx_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 file 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 (jp1itemexportEx.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 files to be output. It changes the log file size to 10 megabytes (10,240 kilobytes), and the number of log files to 10.
[LOG] EXPORT_LOG=Y EXPORT_FILESIZE=10240 EXPORT_FILENUM=10