Thursday, August 22, 2013

Oracle portal webcache log level

 original post from here:
http://oamidam.wordpress.com/2011/06/13/increase-event_log-verbosity-oracle-webcache/


There are many possible ways to increase event_log verbosity to DEBUG:
First, using Application Server Control Console:
  1. Navigate to Web Cache Home page
  2. Navigate to Administration tab > Properties > Web Cache > Logging.
  3. Change Logging Level to Debug
  4. Un-check Buffer in Memory check box to disable buffering when you need to see the event log results immediately.
  5. Click OK
Second, using OracleAS Web Cache Manager:
  1. In the navigator frame, select Logging and Diagnostics > Event Logs.
  2. From the Cache-Specific Event Log Configuration table, select a cache, and then click Edit Selected.
  3. In the Buffering field, select Disabled to disable buffered logging. Oracle recommends disabling buffering when you need to see the event log results immediately.
  4. from the Verbosity list, select the DEBUG level.
  5. Click Submit.
  6. In the OracleAS Web Cache Manager main window, choose Apply Changes.
Third, by editing webcache.xml file:
  1. Backup the file $ORACLE_HOME/webcache/webcache.xml
  2. Edit the file webcache.xml and change the following lines
<EVENTLOGDIR LOGDIR="ORACLE_HOME/webcache/logs/" BUFFERENABLED="YES" BUFFERSIZE="2048" FLUSHINTERVAL="10" Key="LOGDIR">
<VERBOSITY LEVEL="WARNING"/>
to be:

<EVENTLOGDIR LOGDIR="ORACLE_HOME/webcache/logs/" BUFFERENABLED="NO" BUFFERSIZE="2048" FLUSHINTERVAL="10" Key="LOGDIR">
<VERBOSITY LEVEL="DEBUG"/>

No comments:

Post a Comment