Skip to content

Instantly share code, notes, and snippets.

@rmoff

rmoff/obips_logging.md

Last active Aug 29, 2015
Embed
What would you like to do?
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
You can’t perform that action at this time.