uCosminexus Application Server, Maintenance and Migration Guide

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

3.3.7 Settings for Acquiring the Batch Server Log

You can change the log output destination, log size, and log level for batch server log. The following table describes the items that can be changed and the parameters of the Easy Setup definition file corresponding to these items. Furthermore, set up these parameters in the user property for the batch server in the Easy Setup definition file.

Table 3-12 Settings for acquiring batch server log

Items Corresponding parameters of the Easy Setup definition file
Log output destination ejb.server.log.directory in the <configuration> tag on a logical J2EE server (j2ee-server)
Log size

Number of log files
ejbserver.logger.channels.define.channel-name.filenum in the <configuration> tag on a logical J2EE server (j2ee-server)

Maximum size for each log file
ejbserver.logger.channels.define.channel-name.filesize in the <configuration> tag on a logical J2EE server (j2ee-server)
Log level ejbserver.logger.enabled.* in the <configuration> tag on a logical J2EE server (j2ee-server)

If you specify true (default value) in the ejbserver.logger.systemlog.enabled parameter in the <configuration> tag of the logical J2EE server (j2ee-server) or if you skip specification of this parameter, the message indicating startup, termination, and abnormal termination of a batch server is output to the event log (in UNIX, syslog).

For details about the above-mentioned respective settings, see 3.3.6 Settings for Acquiring the J2EE Server Log. At this time, substitute J2EE server to batch server.

For details on the parameters to be specified in the Easy Setup definition file, see 4.6 Easy Setup definition file in the uCosminexus Application Server Definition Reference Guide.

Notes (in UNIX)
To output messages related to batch server start, stop, and abnormal termination, to syslog, it is necessary to set the priority for the facility daemon to info or debug in the syslog settings. Moreover, the log output destination and log file name of syslog depend on the setting of syslog.
For details about the syslog and its settings, see the description of syslogd or syslog.conf in the manual provided with OS.