How To Change Log Level for Oracle Web Services Manager (OWSM)

OWSM Gateway
1. Make sure that OracleAS / OC4J hosting OWSM is running.
2. Open $OC4J_HOME/owsm/config/gateway/logging.xml and replace all “INFO” with “FINEST”.
3. Go to $OC4J_HOME/owsm/bin directory, and run the following command
wsmadmin deploy gateway

4. 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
1. Make sure that OracleAS / OC4J hosting OWSM is running.
2. Open $OC4J_HOME/owsm/config/ccore/logging.xml and replace all “INFO” with “FINEST”.
3. Go to $OC4J_HOME/owsm/bin directory, and run the following command
wsmadmin deploy control

4. The changed log level for the OWSM Control application is in effect now. Look for the detailed logs in $OC4J_HOME/j2ee/OC4J_Instance/log/ccore.log

OWSM Policy Manager
1. Make sure that OracleAS / OC4J hosting OWSM is running.
2. Open $OC4J_HOME/owsm/config/policymanager/logging.xml and replace all “INFO” with “FINEST”.
3. Go to $OC4J_HOME/owsm/bin directory, and run the following command
wsmadmin deploy policymanager

4. The changed log level for the Policy Manager is in effect now. Look for the detailed logs in $OC4J_HOME/j2ee/OC4J_Instance/log/policymanager.log

OWSM Monitor
1. Make sure that OracleAS / OC4J hosting OWSM is running.
2. Open $OC4J_HOME/owsm/config/coreman/logging.xml and replace all “INFO” with “FINEST”.
3. Go to $OC4J_HOME/owsm/bin directory, and run the following command
wsmadmin deploy monitor

4. The changed log level for the OWSM Monitor is in effect now. Look for the detailed logs in $OC4J_HOME/j2ee/OC4J_Instance/log/coreman.log

OWSM Client / Server Agents on OC4J
1. Make sure that OracleAS / OC4J hosting the OWSM is running.
2. Open $OC4J_HOME/owsm/config/interceptors/componentId/config/clientagent or serveragent/logging.xml and replace all “INFO” with “FINEST”.
3. Restart OWSM & your application.
4. The changed log level for the agent is in effect now. Look for the detailed logs in $OC4J_HOME/j2ee/OC4J_Instance/log/serveragent.log for Server Agent (and clientagent.log for Client Agents).

Comments

Popular posts from this blog

jstatd error : Could not create remote object : access denied (java.util.PropertyPermission java.rmi.server.ignoreSubClasses write)

Weblogic server is not starting up ; java.lang.AssertionError

ORA-22990: LOB locators cannot span transactions