Hitachi

uCosminexus Application Server Expansion Guide


8.1 Organization of this chapter

The logs, output by J2EE applications, batch applications, and EJB client applications, are called user logs. This chapter describes the user logs output for applications.

When an error occurs, you collect and analyze the user log that is output, and examine the causes of the error. You can acquire user logs in a batch as the snapshot log or acquire an individual log. For details on collecting the snapshot log containing user logs, see 2.3.3 Collecting the Snapshot Log in the uCosminexus Application Server Maintenance and Migration Guide.

The following table describes the organization of this chapter.

Table 8‒1: Organization of this chapter (User log output for applications)

Category

Title

Reference location

Description

Overview of the user log output

8.2

Log format

8.3

Implementation

Methods used in the user log output

8.4

Implementation for user log output

8.5

Setup

Creating and setting loggers and handlers

8.6

How you can use your own filter/ formatter/ handler

8.7

Setting the user log output for J2EE applications

8.8

Setting the user log output for batch applications

8.9

Setting the user log output for EJB client applications (For using the cjclstartap command)

8.10

Implementing and setting the user log output for EJB client applications (For using the vbj command)

8.11

Notes

Notes for using the user log functionality

8.12

Note: There is no specific description of Operation for this functionality.

The reference location of the user log output varies according to the type of applications. The following table describes the reference locations.

Table 8‒2: Reference locations related to the user log output

Reference location

Type of application

J2EE application

Batch application

EJB client application

8.2 Overview of the user log output

Y

Y

Y

8.3 Log format

Y

Y

Y

8.4 Methods used in the user log output

Y

Y

Y

8.5 Implementation for user log output

Y

Y

N

8.6 Creating and setting loggers and handlers

Y

Y

N

8.7 How you can use your own Filter/ formatter/ handler

Y

Y

N

8.8 Setting the user log output of J2EE applications

Y

N

N

8.9 Setting the user log output of batch applications

N

Y

N

8.10 Setting the user log output of EJB client applications (When using the cjclstartap command)

N

N

Y

8.11 Implementing and setting the user log output of EJB client applications (When using the vbj command)

N

N

Y

8.12 Notes for using the user log functionality

Y

Y

Y

Legend:

Y: Reference

N: Do not reference