3.3.13 Settings for collecting Cosminexus JMS Provider logs
This subsection describes the settings for changing output levels, number of files, and file size of the logs of CJMSP Broker, management command (cjmsicmd), and CJMSP resource adapters that are used by Cosminexus JMS Provider.
With Cosminexus JMS Provider, the following three types of logs are output:
-
CJMSP Broker log
-
Management command (cjmsicmd) log
-
CJMSP resource adapter log
The following table describes the default output destination for each of the above logs.
Log type |
Default output destination |
---|---|
CJMSP Broker log |
|
Management command (cjmsicmd) log |
|
CJMSP resource adapter log |
|
Note that if the default output destination does not exist, a directory is created when the log is output.
- Organization of this subsection
(1) Settings for collecting the CJMSP Broker logs
Among the log acquisition settings for CJMSP Broker, you can change the log output level, number of files, and file size.
The following table describes how to change the settings.
Item |
Changing method |
---|---|
Log output level |
Specify the changes in the following properties of commonconfig.properties or config.properties:
|
Number of files |
Specify the changes in the following properties of commonconfig.properties or config.properties:
|
File size |
Specify the changes in the following properties of commonconfig.properties or config.properties:
|
Note that if the specified directory does not exist, the default settings are applied.
For details about the properties, see 6.2.2 commonconfig.properties (CJMSP broker common properties file) and 6.2.3 config.properties (CJMSP broker individual properties file) in the uCosminexus Application Server Definition Reference Guide.
(2) Settings for collecting the management command (cjmsicmd) log
Among the log collection settings for the management command (cjmsicmd), you can change the log output level, output destination, number of files, and file size.
The following table describes how to change the settings.
Item |
Changing method |
---|---|
Log output level |
Specify the changes in the following property of admin.properties:
|
Output destination |
Specify the changes in the following properties of admin.properties:
|
Number of files |
Specify the changes in the following properties of admin.properties:
|
File size |
Specify the changes in the following properties of admin.properties:
|
Note that if the specified directory does not exist, the default settings are applied.
For details about the properties, see 6.2.1 admin.properties (Management command properties file) in the uCosminexus Application Server Definition Reference Guide.
(3) Settings for collecting the CJMSP resource adapter log
Among the log collection settings for the CJMSP resource adapter, you can change the log output level, number of files, and file size.
The following table describes how to change the settings.
Item |
Changing method |
---|---|
Log output level |
Specify the following property in <config-property> below <resourceadapter> in the Connector property file:
|
Number of files |
Specify the following properties in <config-property> below <resourceadapter> in the Connector property file:
|
File size |
Specify the following properties in <config-property> below <resourceadapter> in the Connector property file:
|
For details about the Connector property file, see 4.1 HITACHI Connector Property file in the uCosminexus Application Server Application and Resource Definition Reference Guide.