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.
|
Category |
Title |
Reference location |
|---|---|---|
|
Description |
Overview of the user log output |
|
|
Log format |
||
|
Implementation |
Methods used in the user log output |
|
|
Implementation for user log output |
||
|
Setup |
Creating and setting loggers and handlers |
|
|
How you can use your own filter/ formatter/ handler |
||
|
Setting the user log output for J2EE applications |
||
|
Setting the user log output for batch applications |
||
|
Setting the user log output for EJB client applications (For using the cjclstartap command) |
||
|
Implementing and setting the user log output for EJB client applications (For using the vbj command) |
||
|
Notes |
Notes for using the user log functionality |
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.
|
Reference location |
Type of application |
||
|---|---|---|---|
|
J2EE application |
Batch application |
EJB client application |
|
|
Y |
Y |
Y |
|
|
Y |
Y |
Y |
|
|
Y |
Y |
Y |
|
|
Y |
Y |
N |
|
|
Y |
Y |
N |
|
|
Y |
Y |
N |
|
|
Y |
N |
N |
|
|
N |
Y |
N |
|
|
8.10 Setting the user log output of EJB client applications (When using the cjclstartap command) |
N |
N |
Y |
|
N |
N |
Y |
|
|
Y |
Y |
Y |
|
- Legend:
-
Y: Reference
N: Do not reference