Skip to content

Instantly share code, notes, and snippets.

@rmoff
Last active August 29, 2015 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rmoff/08cb4c7f138e281e6350 to your computer and use it in GitHub Desktop.
Save rmoff/08cb4c7f138e281e6350 to your computer and use it in GitHub Desktop.
Custom debug logging in Presentation Services

See Logging in Oracle BI Presentation Services

This would capture saw.odbc and saw.charts logs:

instanceconfig.xml:

<?xml version="1.0" ?>
<Server>
	[...]
	<Logging>
	
	<Writers>
		[...]
		<Writer implementation="FileLogWriter" name="RNM debug Logger" disableCentralControl="true" writerClassId="6" dir="{%ORACLE_BIPS_INSTANCE_LOGDIR%}" filePrefix="rnm_debug" maxFileSizeKb="2147483647" filesN="1" fmtName="ODL-Text"/>
	</Writers>
		
	<WriterClassGroups>
		[...]
		<WriterClassGroup name="RNMConfig">6</WriterClassGroup>
	</WriterClassGroups>
	
	<Filters>
		[...]
		<FilterRecord writerClassGroup="RNMConfig" disableCentralControl="true" path="saw.charts" information="32" warning="32" error="32" trace="32" incident_error="32"/>                
		<FilterRecord writerClassGroup="RNMConfig" disableCentralControl="true" path="saw.odbc" information="32" warning="32" error="32" trace="32" incident_error="32"/>                
	</Filters>

To see all possible log sources, use

. ./bi-init.sh
sawserver -logsources
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment