Loading

Thursday, April 26, 2007

How To - OWSM 10.1.3 : Change log level

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

  1. Make sure that OC4J application server is running.
  2. Open OC4J_HOME/owsm/config/gateway/logging.xml and replace all “INFO” with “ALL”.
  3. Go to OC4J_HOME/owsm/bin directory, and run the following command
    wsmadmin deploy OC4J_ADMIN_PASSWORD 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 OC4J application server is running.
  2. Open OC4J_HOME/owsm/config/ccore/logging.xml and replace all “INFO” with “ALL”.
  3. Go to OC4J_HOME/owsm/bin directory, and run the following command
    wsmadmin deploy OC4J_ADMIN_PASSWORD control
  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/ccore.log

OWSM Policy Manager

  1. Make sure that OC4J application server is running.
  2. Open OC4J_HOME/owsm/config/policymanager/logging.xml and replace all “INFO” with “ALL”.
  3. Go to OC4J_HOME/owsm/bin directory, and run the following command
    wsmadmin deploy OC4J_ADMIN_PASSWORD policymanager
  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/policymanager.log

OWSM Monitor

  1. Make sure that OC4J application server is running.
  2. Open OC4J_HOME/owsm/config/coreman/logging.xml and replace all “INFO” with “ALL”.
  3. Go to OC4J_HOME/owsm/bin directory, and run the following command
    wsmadmin deploy OC4J_ADMIN_PASSWORD monitor
  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/coreman.log

OWSM Agents on OC4J

Server Agent or J2EE Client Agent

  1. Make sure that OC4J application server is running.
  2. Open OC4J_HOME/owsm/config/interceptors/componentId/config/clientagent or serveragent/logging.xml and replace all “INFO” with “ALL”.
  3. Restart the application.
  4. 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).