CA OM Web Services Version 2.0 leveraged Apache Log4j library to implement the logging function in the product. It provides web applications and components with the ability to log hierarchically across various log levels without the need to rely on a particular logging implementation. The logging frameworks used by the product and its components run independently of each other and provide output to separate log files.
This section contains the following topics:
For support and debug purposes, the log4j facility is enabled with CA OM Web Services Version 2.0 and middle-tier components with a default trace priority level set to ERROR.
The priorities from lowest to highest are as follows:
Due to performance considerations and file disk space, the INFO and DEBUG levels are not recommended for use with CA OM Web Services Version 2.0 in production.
The lower levels are used only for requests from CA Support to gather more debug log records for problem detection.
Under the web application deployment directory, there is a sub-directory for logging configuration files. One sub-directory, /config, holds the trace configuration files, OmCCITrace.cfg, OmJDrasTrace.cfg, and OmTrace.cfg.
..\webapps\caomws20\config
You can update the log levels and get more trace messages besides error messages into the log files by upgrading the level for the parent class category or individual class category to WARN, INFO, or DEBUG level.
For example, in OmCCITrace.cfg, OmJDrasTrace.cfg, OmTrace, change the level as follows:
From
log4j.category.com.ca.erm.cciclient.cci.=ERROR, A1 log4j.category.com.ca.omgmt.drascci=ERROR, A2 log4j.category.com.ca.omgmt.webservice=ERROR, A3
To
log4j.category.com.ca.erm.cciclient.cci.=INFO, A1 log4j.category.com.ca.omgmt.drascci=DEBUG, A2 log4j.category.com.ca.omgmt.webservice=WARN, A3
Note: You do not have to restart CA OM Web Services Version 2.0 after the configuration update. You can use the new trace settings within a short time.
Under the web application deployment directory, there is a sub-directory for holding the output log files ccitrace.log, jdrastrace.log, and webservicetrace.log for each component.
..\webapps\caomws20\logs
The log records output to these log files can be used for problem tracking, which is based on requests from CA Support.
|
Copyright © 2013 CA.
All rights reserved.
|
|