The out-of-box log level is “INFO” for all OWSM applications. For debugging purposes, you may want to bump this log level to get further details on the problem. Following instructions will allow you to achieve this.
OWSM Gateway
- Make sure that OC4J application server is running.
- Open OC4J_HOME/owsm/config/gateway/logging.xml and replace all “INFO” with “ALL”.
- Go to OC4J_HOME/owsm/bin directory, and run the following command
wsmadmin deploy OC4J_ADMIN_PASSWORD gateway - The changed log level for the gateway application is in effect now. Look for the detailed logs in OC4J_HOME/j2ee/OC4J_Instance
/log/gateway.log
OWSM Control
- Make sure that OC4J application server is running.
- Open OC4J_HOME/owsm/config/ccore/logging.xml and replace all “INFO” with “ALL”.
- Go to OC4J_HOME/owsm/bin directory, and run the following command
wsmadmin deploy OC4J_ADMIN_PASSWORD control - The changed log level for the gateway application is in effect now. Look for the detailed logs in OC4J_HOME/j2ee/OC4J_Instance
/log/ccore.log
OWSM Policy Manager
- Make sure that OC4J application server is running.
- Open OC4J_HOME/owsm/config/policymanager/logging.xml and replace all “INFO” with “ALL”.
- Go to OC4J_HOME/owsm/bin directory, and run the following command
wsmadmin deploy OC4J_ADMIN_PASSWORD policymanager - The changed log level for the gateway application is in effect now. Look for the detailed logs in OC4J_HOME/j2ee/OC4J_Instance
/log/policymanager.log
OWSM Monitor
- Make sure that OC4J application server is running.
- Open OC4J_HOME/owsm/config/coreman/logging.xml and replace all “INFO” with “ALL”.
- Go to OC4J_HOME/owsm/bin directory, and run the following command
wsmadmin deploy OC4J_ADMIN_PASSWORD monitor - The changed log level for the gateway application is in effect now. Look for the detailed logs in OC4J_HOME/j2ee/OC4J_Instance
/log/coreman.log
OWSM Agents on OC4J
Server Agent or J2EE Client Agent
- Make sure that OC4J application server is running.
- Open OC4J_HOME/owsm/config/interceptors/componentId
/config/clientagent or serveragent /logging.xml and replace all “INFO” with “ALL”. - Restart the application.
- The changed log level for the serveragent application is in effect now. Look for the detailed logs in OC4J_HOME/j2ee/OC4J_Instance
/log/serveragent.log for serveragent (and clientagent.log for client agents).
|