Saturday, March 12, 2016

Enable TRACE logging for 11g WebGate .

WEBGATE TRACE INSTRUCTIONS
  • To enable TRACE logging for 11g WebGate:
  • First backup file ORACLE_INSTANCE/config/OHS/OHS_INSTANCE_NAME/webgate/config/oblog_config_wg.xml
  • Then in the original oblog_config_wg.xml set:
                               <SimpleList>
<NameValPair
ParamName="LOG_THRESHOLD_LEVEL"
Value="LOGLEVEL_TRACE"></NameValPair>
</SimpleList>

                             NOTE: Do not modify any other LOGLEVEL settings in that file.

  • Change the BUFFER_SIZE in the oblog config file, so that log entries are flushed to file promptly.
<NameValPair
ParamName="BUFFER_SIZE"
Value="4"></NameValPair>

                           Note:WebGate webserver restart is not necessary.

  • To disable the TRACE logging simply replace the original oblog_config_wg.xml file.



1 comment: