Mail adapter command definition file
Format
[mailadp.command.messagelog.filepath=directory-to-output-command-message-log] |
Function
This file is used to specify information such as the output destination and the output levels of the message log for the commands used with the mail adapter.
Create the mail adapter command definition file with the name adpmailcommand.properties.
File storage location
Service-platform-installation-directory\CSC\config\mail\templates\adpmailcommand.properties
Service-platform-installation-directory\CSC\config\mail
Specifiable properties
mailadp.command.messagelog.filepath=directory-to-output-command-message-log~ <Character strings (including two-byte characters) and spaces>
Specifies an absolute path for the directory to output the command message log.
Use the characters / or \\ as directory delimiters. If the directory is not specified, or if the specified folder does not exist, the log is output to service-platform-installation-directory\csc\log\adapter\command.
mailadp.command.messagelog.filenum=number-of-command-message-log-files ~ <Numeric character> ((1 to 64)) <<2>>
Specifies the number of command message log files.
mailadp.command.messagelog.filesize=maximum-size-of-one-command-message-log-file ~ <Numeric character> ((4096 to 16777216)) <<1048576>>
Specifies the maximum size of one command message log file in bytes.
mailadp.command.messagelog.level={10|20|30} ~ <<20>>
Specifies the output levels for the command message log. The following table lists the output information and the output levels:
Output information | Description | Output level | ||
---|---|---|---|---|
10 | 20 | 30 | ||
Error information | Cause of an exception or an error | Y | Y | Y |
Warning information | Information such as the problem that occurred | |||
Information | Content of arguments During command reception and completion of execution Event notification | |||
| Stack trace for error | N | Y | Y |
| Debug information for error | N | N | Y |
Example of coding
An example of coding of the mail adapter command definition file is as follows:
mailadp.command.messagelog.filepath=C:\\Program Files\\Hitachi\\Cosminexus\\csc\\log\\adapter\\command |
Notes
Two-byte characters are interpreted as invalid strings, so use the native2ascii command for converting such characters. For details on the native2ascii command, see the JDK documentation.