Sunil S. Ranka's Weblog

Superior Data Analytics is the antidote to Business Failure

How to increase SAW (Presentation Server) logging

Posted by sranka on August 6, 2009

To increase the SAW/OBIPS logging level you need to make some changes to logconfig.xml.

  • Open logconfig.xml file located in D:\OracleBIData\web\config folder
  • Add the following lines in the <Filters> node of logconfig.xml:
<Filters>
 <FilterRecord writerClassGroup="Cout" path = "saw" information="100" warning="100" error="100" security="100"/>
 <FilterRecord writerClassGroup="File" path = "saw" information="100" warning="100" error="100" security="100"/>
 <FilterRecord writerClassGroup="File" path = "saw.httpserver.request" information="100" warning="100" error="100" security="100"/>
 <FilterRecord writerClassGroup="File" path = "saw.httpserver.response" information="100" warning="100" error="100" security="100"/>
 <FilterRecord writerClassGroup="File" path = "saw.mktgsqlsubsystem.joblog" information="100" warning="100" error="100" security="100"/>
</Filters>
  • You will also need to increase the number of log files being produced. This is also controlled in logconfig.xml.
  • In the <Writers> node, modify Writer implementation:
<Writer implementation="FileLogWriter" name="Global File Logger" writerClassId="1"
dir="{%SADATADIR%}/web/log" filePrefix="sawlog" maxFileSizeKb="10000" filesN="100" />

Set the filesN parameter to 100.

  • Logging at this level produces a lot of data. You need to make sure you have an adequate amount of free space on the hard drive to accommodate the additional logs.
  • For changes in logconfig.xml to take affect, presentation services (OBIPS) needs to be restarted.

Hope This Helps

Sunil S Ranka

The above details are been taken from Oracle Metalink3 Website (Document 740257.1). Document 740257.1 can be found at: https://metalink3.oracle.com/od/faces/secure/km/DocumentDisplay.jspx?id=740257.1

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: