User log definition file (jp1refaclsetup.conf)
- Organization of this page
Description
This file defines the size of a log file and the number of log files that are used when the execution result of the jssrefaclsetup command is output to a log file open to users (jssrefaclsetup_infonubmer.log).
Format
;comments [LOG] REFACLSETUP_FILESIZE=size-of-the-log-file REFACLSETUP_FILENUM=number-of-log-files
Lines starting with a semi-colon (;) are treated as comments.
File names
-
jp1refaclsetup.conf (User log definition file)
-
jp1refaclsetup.conf.model (Model user log definition file)#
- #
-
Use the model file when you want to reset the contents of the user log definition file. In this case, delete the user log definition file, copy the model file, and rename the file to the name of the user log definition file. Then you can use that file as the user log definition file.
Storage folder
IM-SS-path\conf\command\
When the definition is applied
When you execute the jssrefaclsetup (sets up view permission settings for individual Items) command, the definition is applied to JP1/IM - Service Support.
What is described
You can edit the specification keys explained in the table below. Use an equal sign (=) to connect a key and its value.
Specification key name |
Description |
Default value |
---|---|---|
REFACLSETUP_FILESIZE |
Specifies the size of the log file (jssrefaclsetup_infonumber.log) in KB. Specify a half-width integer from 4 to 16384. |
8192 |
REFACLSETUP_FILENUM |
Specifies the number of log files (jssrefaclsetup_infonumber.log). Specify a half-width integer from 1 to 64. |
2 |
Message output to a log file
For details about the message output to a log file, see 13.1 Output destinations for messages.
Notes
-
If you set to output log files, the mmap folder is created in the folder to output log files to (IM-SS-path\log\public\). When you change the size of the log file and the number of log files after you start operations, delete this mmap folder. If you do not delete this folder, the change will not be enabled.
-
The user log definition file (jp1refaclsetup.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 definition example changes the size of the log file to 10 MB (10,240 KB), and the number of files to 4.
[LOG] REFACLSETUP_FILESIZE=10240 REFACLSETUP_FILENUM=4