User log definition file (jp1itementrybymail.conf)
- Organization of this page
Description
This file defines whether to output the execution results of the jssitementrybymail command to the log file (jssitementrybymail_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. If you want the jssitementrybymail command to be executed automatically when the JP1/Service Support - Task Service service starts, set the execution results to be output to the log file.
Format
;comment [LOG] ENTRY_LOG=output-or-not-output-log-files ENTRY_FILESIZE=size-of-the-log-file ENTRY_FILENUM=number-of-log-files
Lines starting with a semicolon (;) are treated as comments.
File names
-
jp1itementrybymail.conf (User log definition file)
-
jp1itementrybymail.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 when the jssitementrybymail command is executed.
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 |
---|---|---|
ENTRY_LOG |
Specifies whether to output the log file (jssitementrybymail_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 |
ENTRY_FILESIZE |
Specifies the size of the log file (jssitementrybymail_infonumber.log) in kilobytes. Specify a half-width integer from 4 to 16384. |
8192 |
ENTRY_FILENUM |
Specifies the number of log files (jssitementrybymail_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 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 (jp1itementrybymail.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 four.
[LOG] ENTRY_LOG=Y ENTRY_FILESIZE=10240 ENTRY_FILENUM=4