uCosminexus Application Server, EJB Container Functionality Guide

[Contents][Glossary][Index][Back][Next]

3.8.2 Output destination subdirectory of the system log

The system log of an EJB client application is output in each process of the EJB client application. In the system log, you can share the log output destination subdirectory among the multiple processes. The operation mode for sharing the log output destination subdirectory among the multiple processes is called the shared subdirectory mode.

Hint
If you want to use an existing EJB client application created with a version earlier than 06-50 as it is, perform the operation in the exclusive subdirectory mode in which the log output destination subdirectory is created for each process. We recommend that you use the shared subdirectory mode for creating a new EJB client application because the exclusive subdirectory mode is used for compatibility with versions earlier than 06-50.

The following table describes operations in the shared subdirectory mode.

Table 3-14 Differences between the shared subdirectory mode and exclusive subdirectory mode

Items Sub directory shared mode
Possibility of sharing a subdirectory among multiple processes Can be shared.
Creation of the log management file Created.
Default value of the ejbserver.client.ejb.log key# System
Default value of the ejbserver.client.log.appid key# Ejbcl
Specification of the ejbserver.client.log.directorynum key# Always disabled.
Number of files that can be specified in the ejbserver.logger.channels.define.channel-name.filenum key# 1 to 64
Size (bytes) that can be specified in the ejbserver.logger.channels.define.channel-name.filesize key# 4,096 to 16,777,216

#
System property specified when an EJB client application is started.

Note
  • When executing an EJB client application with the cjclstartap command, use the shared subdirectory mode.
  • When using the user log functionality of an EJB client application, use the shared subdirectory mode.