Friday, October 22, 2010

Modifying Audit Levels in Oracle SOA Suite 11g

A colleague stated that he is unable to view his payload in the instances in Oracle SOA Suite 11g.

What needs to be done is set the Audit Level. You can set the Audit Level to apply to the entire server, or it can be apply to an individual composite.


Setting the Audit Level for all composites:

1. Log in to the EM console at http://server:port/em

2. Expand SOA on the left, and right-click on soa-infra (soa_server1)

3. Select SOA Administration --> Common Properties

4. Change the Audit Level to either Off, Production, or Development


Setting the Audit Level for a single composite:

1. Log in to the EM console at http://server:port/em

2. Expand SOA on the left

3. Expand soa-infra (soa_server1)

4. If using 11.1.1.3 or higher, expand your partition (e.g., default)

5. Click on your composite

6. On the right, click on the dropdown Settings and choose Composite Audit Level

7. You can choose to set the Audit Level for this composite. If you choose Inherit, it will default to what the server is set to. Otherwise, you can override it by choosing Off, Production, or Development.


References:

http://soa-bpel-esb.blogspot.com/2010/05/not-able-to-see-complete-flow-in-soa.html

5 comments:

Anonymous said...

Is there any way this can be done by wlst? Or, if values are stored in the DB, can you point out what must be changed there?
I'm referring to changing the audit level from Production to Development and selecting Capture composite instance state.
Thanks
I.R.

Ronald van Luttikhuizen said...

You could add the line Production to your composite.xml

Ronald

Ronald van Luttikhuizen said...

XML parsing messed up the previous comment.

Should be:

[property name="auditLevel" many="false"]Production[/property]

and the replace the "[" and "]" with XML tags

Ahmed Aboulnaga said...

Ronald is correct.

Another option is to simply add the following to your composite.xml file:

<property name="auditLevel" many="false">Inherit</property>

Acceptable values are: Inherit, Off, Development, Production

Note that once you deploy your composite project to the server, whatever audit level you set in composite.xml takes effect, regardless of what the server audit level is set to. However, once your composite is deployed, you can override it on the console by manually setting the composite audit level.

Amelia said...

Thanks a lot for sharing a great blog I was browsing through the internet looking for Oracle SOA and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject, you can find more information blogs about Oracle SOA at Oracle SOA Blogs. Bookmarked this page, it helped me a lot and I have gained a lot of knowledge by reading your blog and Oracle SOA Training