Thursday, August 14, 2014

OAM Web Gates and OHS : Debugging web server log file and webgate log file

This post covers the files that are required to be modified to enable debug tracing.

In OHS 12c the file is required is httpd.conf under OHS/instances/ohs1
and for webgate it is  oblog_config_wg.xml




/var/oracle/fusionV12c/webserver/instances/mcpohs1/config/fmwconfig/components/OHS/instances/ohs1

OraLogDir "${ORACLE_INSTANCE}/servers/${COMPONENT_NAME}/logs"
OraLogMode odl-text
OraLogSeverity WARNING:32

Change to
OraLogSeverity TRACE:32



/var/oracle/fusionV12c/webserver/instances/mcpohs1/config/fmwconfig/components/OHS/instances/ohs1/webgate/config

   <SimpleList>
                <NameValPair
                        ParamName="LOG_THRESHOLD_LEVEL"
                        Value="LOGLEVEL_TRACE">
                </NameValPair>

original setting 
LOGLEVEL_WARNING