uCosminexus Application Server, Web Service Development Guide

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

39.3.2 Log file rotation

With the Cosminexus JAX-WS functionality and JAX-RS functionality, logs are rotated to multiple files, and then the logs are output. This subsection describes the log file rotation.

Organization of this subsection
(1) How to rotate

(1) How to rotate

With the Cosminexus JAX-WS functionality and JAX-RS functionality, if Web resources or Web Services run on a J2EE server, you can specify the rotation switching for types of the output logs. The following table lists the log types and describes whether the settings to switch the log types can be specified.

Table 39-3 Log types and whether the rotation switching can be specified

No. Log types Whether the rotation switching can be specified
1 Operation log Y
2 Exception log N
3 Maintenance log Y
4 Communication log N

Legends:
Y: You can specify the settings for rotation switching.
N: You cannot specify the settings for rotation switching.

Note
If the output destination file has the same size as that of the specified file, the output destination is switched to the next file (wraparound mode), by default. For details, see 3. Preparation for Troubleshooting in the uCosminexus Application Server Maintenance and Migration Guide.

You cannot specify a rotation switching in the logs of the Web Service client that starts by the Java application startup command (cjclstartap command) or in the logs output when implementing the command line interface.