uCosminexus Application Server, Maintenance and Migration Guide

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

4.3.5 Acquiring the Application User Log

You can acquire the application log when the settings are set so that the application log is output in the Hitachi Trace Common Library format. The user logs are in the following two types:

For details on the log in the Trace Common Library format, see 5.2 Application Server log.

Organization of this subsection
(1) Acquiring the user logs of J2EE application
(2) Acquiring the EJB client application user log

(1) Acquiring the user logs of J2EE application

For the log output destination of a J2EE application, the log is output to a file, which has a name containing the prefix specified in the ejbserver.application.userlog.CJLogHandler.handler-name.path parameter in the configuration tag of the logical J2EE server (j2ee-server) in the simple setup definition file, in the directory below. Note that the handler name is specified in the handler-name to identify the key values.

For details on the settings to output user logs in J2EE applications, see 9.8 Settings to output user logs in J2EE applications in the uCosminexus Application Server Expansion Guide.

(2) Acquiring the EJB client application user log

For the user log output destination of an EJB client application, the log is output to the file with the name having the prefix specified in the ejbserver.application.userlog.CJLogHandler.handler-name.path key value of the EJB client application system property in the directory below. Note that the handler name is specified in the handler-name to identify the key values.

For the method of setting the system properties to output user logs in EJB client applications, see 9.10 Settings of the user log output in EJB client application (for cjclstartap command) or 9.11 Implementation and settings of the user log output in EJB client application (for vbj command) in the uCosminexus Application Server Expansion Guide.