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