User log definition file (jp1itemedit.conf)
- Organization of this page
Description
This file defines whether to output the execution results of the jssitemedit command to the log file (jssitemedit_infonumber.log) which is open to users, the size of the log file, and the number of log files. By default, the execution result is set to be output. To execute the jssitemedit command automatically from a linked product, such as JP1/IM - Manager, set the execution results to be output to the log file.
Format
;comment [LOG] EDIT_LOG=output-or-not-output-log-files EDIT_FILESIZE=size-of-the-log-file EDIT_FILENUM=number-of-log-files
Lines starting with a semicolon (;) are treated as comments.
File names
-
jp1itemedit.conf (User log definition file)
-
jp1itemedit.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
JP1/SS-path\conf\command\
When the definition is applied
The definition is applied when the jssitemedit command is executed.
What is described
You can specify the keys described in the table below. Use an equal sign (=) to connect a specifiable key and its value.
Specification key name |
Description |
Default value |
---|---|---|
EDIT_LOG |
Specifies whether to output the log file (jssitemedit_infonumber.log). If the setting is invalid, the log file is not output. Output destination folder: JP1/SS-path\log\command\jssitemedit\ Specify Y (output the log file) or N (Do not output the log). |
Y |
EDIT_FILESIZE |
Specifies the size of the log file (jssitemedit_infonumber.log) in kilobytes. Specify a half-width integer from 4 to 16384. |
8192 |
EDIT_FILENUM |
Specifies the number of log files (jssitemedit_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 14.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 (JP1/SS-path\log\command\jssitemedit\). 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.
Definition example
The following example sets the log files to be output:
[LOG] EDIT_LOG=Y EDIT_FILESIZE=8192 EDIT_FILENUM=2