User log definition file (jp1mailnotification.conf)
- Organization of this page
Description
This file defines whether to output the execution results of email notification from the jssitementry, jssitementrybymail, and jssitemedit commands to the log file (jssmailnotification_infonumber.log) which is open to users, the size of the log file, and the number of log files.
Format
;comment [LOG] MAILNOTIF_LOG=output-or-not-output-log-files MAILNOTIF_FILESIZE=size-of-the-log-file MAILNOTIF_FILENUM=number-of-log-files
Lines starting with a semicolon (;) are treated as comments.
File names
-
jp1mailnotification.conf (User log definition file)
-
jp1mailnotification.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 jssitemedit, jssitementry, or jssitementrybymail command is executed with the -mail option specified.
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 |
---|---|---|
MAILNOTIF_LOG |
Specifies whether to output the log file (jssmailnotification_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 |
MAILNOTIF _FILESIZE |
Specifies the size of the log file (jssmailnotification_infonumber.log) in kilobytes. Specify a half-width integer from 4 to 16384. |
8192 |
MAILNOTIF _FILENUM |
Specifies the number of log files (jssmailnotification_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 (jp1mailnotification.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] MAILNOTIF_LOG=Y MAILNOTIF_FILESIZE=10240 MAILNOTIF_FILENUM=4