3.6.4 Maintaining log files
After starting operation, the JP1/DH - Server server (and related systems) output data to various logs.
Log files for the data output from JP1/DH - Server roll over when they reach a certain size, and older generations of the log files are removed automatically.
You need to maintain logs of related systems such as the OS on which JP1/DH - Server is installed, mail server, and reverse proxy, by backing up or removing the log files periodically according to the logging specifications for each system.
The following table lists and describes folders in which JP1/DH - Server outputs its log files.
Log output folder |
Description |
---|---|
installation-folder#\log |
The JP1/DH Web application server outputs its data to the log file in this folder. |
installation-folder#\uCPSB\httpsd\logs |
The JP1/DH Web server outputs its data to the log file in this folder. |
installation-folder#\PostgreSQL\9.2\data\pg_log |
The database used by JP1/DH - Server outputs its data to the log file in this folder. |
The following table lists and describes the maximum capacity per file and number of output files for each log file.
Log output folder |
Log file name |
Description |
Maximum capacity per file |
Number of files |
---|---|---|---|---|
installation-folder#1\log |
jp1dh-audit.log.YYYY_MM_DD#4 |
JP1/DH - Server audit log |
Variable#2 |
365#3 |
user_err[n].log |
JP1/DH - Server error log |
1,024 KB |
2 |
|
user_out[n].log |
JP1/DH - Server log |
1,024 KB |
2 |
|
web_servlet[n].log |
Web servlet log |
1,024 KB |
4 |
|
javalog[nn].log |
Log for maintenance information and garbage collection of Java VM |
256 KB |
4 |
|
ehjavalog[nn].log |
Event log for the Explicit heap function |
4,096 KB |
4 |
|
cjmessage[n].log |
Operation log |
1,024 KB |
2 |
|
cjexception[n].log |
Exception information in the event of a failure |
1,024 KB |
2 |
|
installation-folder#1\log\WS |
c4webcl-default-[n].log |
Trace file |
2,048 KB |
2 |
installation-folder#1\log\WS\maintenance |
c4webcl-default-[n].log |
Trace file |
2,048 KB |
2 |
installation-folder#1\log\watch |
cjhttpsessionwatch[n].log |
Monitoring log for HTTP sessions |
1,024 KB |
2 |
cjmemorywatch[n].log |
Monitoring log for memory usage |
1,024 KB |
2 |
|
cjrequestqueuewatch[n].log |
Monitoring log for the HTTP request execution queue |
1,024 KB |
2 |
|
cjthreaddumpwatch[n].log |
Monitoring log for thread dump files |
1,024 KB |
2 |
|
cjthreadwatch[n].log |
Monitoring log for threads |
1,024 KB |
2 |
|
installation-folder#1\log\http |
cjhttp_access.inprocess_http[n].log |
Processing results of the in-process HTTP server |
4,096 KB |
16 |
installation-folder#1\log\http\maintenance\comm |
cjhttp_comm.[YYYYMMDDHHmmssSSS].inprocess_http.mm#4 |
Communication tracing information |
16,998.4 KB |
16 |
installation-folder#1\log\http\maintenance\thr |
cjhttp_thr.YYYYDDMMHHmmssSSS.inprocess_http.mm#4 |
Thread tracing information |
3,276.8 KB |
16 |
installation-folder#1\log\CC\maintenance |
cj_shutdown[n].log |
Finished-process information |
1,096 KB |
2 |
cjconsole[n].log |
Console message |
1,024 KB |
2 |
|
cjejbcontainer[n].log |
Maintenance information on the EJB container |
1,024 KB |
2 |
|
cjmaintenance[n].log |
Maintenance information |
16 KB |
4 |
|
cjstdout.log |
Standard output information from running processes |
1,048 KB |
1 |
|
cjstdout_save.log |
Backup of the standard output information from running processes |
1,048 KB |
1 |
|
cjwebcontainer[n].log |
Maintenance information on the web container |
1,024 KB |
2 |
|
installation-folder#1\log\CC\rmi |
cjrmi[n].log |
RMI communication log of the J2EE server |
1,024 KB |
4 |
installation-folder#1\PostgreSQL\9.2\data\pg_log |
postgresql-[DD].log |
Database log |
Variable#2 |
31 |
installation-folder#1\uCPSB\httpsd\logs |
access.[nnnnnnnnnn] |
JP1/DH Web server access log |
Variable#2 |
8 |
error.[nnn]. |
JP1/DH Web server error log |
8,192 KB |
5 |
|
hwsrequest.[nnnnnnnnnn] |
JP1/DH Web server request log |
Variable#2 |
8 |
- #1
-
In Linux, change installation-folder to /opt/jp1dh/server.
- #2
-
The system creates one file per day. The size of the file depends on usage.
- #3
-
The storage period of the audit log is an adjustable operational parameter.
- #4
-
YYYY: Year
MM: Month
DD: Day
HH: Hour
mm: Minute
ss: Second
SSS: millisecond