File adapter runtime-environment property file
Format
[message.level={0|10|20}] |
Function
The file adapter runtime-environment property file defines information such as the output levels of the message and trace logs for the operations of the file adapter in the execution environment.
The sample file is stored at the following location:
Service-platform-installation-directory-in-execution-environment\CSC\custom-adapter\File\config\templates\adpff_exe.properties
To create the file adapter runtime-environment property file:
The file adapter runtime-environment property file is applied in the execution environment when you start the file adapter. To change the contents of the file adapter runtime-environment property file, stop the file adapter and then perform the operation. When you restart the file adapter, the changes are applied to the execution environment.
Specifiable properties
message.level={0|10|20} ~ <<10>>
Specifies the output levels for the message log. The following table lists the output information and the output levels:
Information type | Output level | ||
---|---|---|---|
0 | 10 | 20 | |
Error information | Y | Y | Y |
Warning information | O | Y | Y |
Information | O | O | Y |
methodtrace.level={0|10|20|30} ~ <<10>>
Specifies the output levels for the method trace. The following table lists the output information and the output levels:
Information type | Output level | |||
---|---|---|---|---|
0 | 10 | 20 | 30 | |
Errors in the methods | Y | Y | Y | Y |
Information for the methods invoked externally and start or stop information for the file I/O methods | N | Y | Y | Y |
Start and stop information for the public methods referenced from other components | N | N | Y | Y |
Start and stop information for the internal methods (non-public methods) that are not referenced from other components | N | N | N | Y |
methodtracefile.size=method-trace-output-size ~ <Numeric character> ((4096 to 2147483647)) <<4194304>>
Specifies the size of the files output for the method trace information collected by the file adapter, in bytes.
methodtracefile.num=number-of-method-trace-files-output ~ <Numeric character> ((1 to 16)) <<4>>
Specifies the number of files output for the method trace information collected by the file adapter. We recommend that you specify at least two files.
fileaccess.path ((1 to 5))=I/O-permitted-file-path
Specifies an absolute path for the directory in which file I/O is permitted. Thefile I/O can be done under the directories specified in these keys. You can also create sub-directories.
You can specify five absolute paths for the directories in which file I/O is permitted.
fileaccess.maxsize=maximum-size-of-input-file ~ <Numeric character> ((1 to 67108864)) <<4194304>>
Specifies the maximum size of the file to be read.
character.code={MS932|UTF8|UTF16_BIG|UTF16_LITTLE|JIS|KEIS+EBCDIC| KEIS+EBCDIK}
Specifies the character encoding of the binary data. When you specify this property, make sure that you specify the codetable.path property as well. Specify this property to execute the write mode functions in the fixed length, length tag, or separator file formats.
codetable.path=transformation-table-storage-path
Specifies the following path as the path for storing the conversion table (user mapping file) for code conversion. Note that when you specify the path, use \\ as directory delimiters.
Service-platform-installation-directory\CSC\lib\external\table
When you specify this property, make sure that you specify the character.code property. Specify this property to execute the write mode functions in the fixed length, length tag, or separator file formats.
Notes
Note the following when you specify the path: