Technology Blog Posts by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
kenny_scott
Product and Topic Expert
Product and Topic Expert
6,614

The PI 7.1 AF Messaging System does not, by default, persist the audit logs of successfully processed asynchronous messages.

Instead the audit logs for successful asynchronous messages are stored in an internal memory cache which is flushed on system restart. The logs, while stored in the cache, are available for monitoring but cache entries are evicted - using a ‘least recently used' (LRU) removal strategy - when the cache is full. The longevity of cache entries is dependent on message throughput.

The audit logs for unsuccessfully processed messages continue to be persisted and are therefore available for troubleshooting.

The persistence of audit logs for successfully processed asynchronous messages may be required for business reasons or performance analysis therefore to revert to the behaviour of previous XI/PI versions  (i.e., all message audit logs are persisted to the database) change the value of the Messaging System service -

   com.sap.aii.af.ms.svc

property -

    messaging.auditLog.memoryCache

from the default

     true'

to

     false'.

(then Modify -> Save -> Restart Messaging Service ** )

The Netweaver Administrator navigation to change the property is -

Configuration Management -> Infrastructure -> Java System Properties -> Services -> XPI Service : Messaging System

N.B.,

  Performance will be adversely affected by changing this value.

** to restart JEE services -

     (1) from the menu option Related Tasks -> Start & Stop: Java EE Services

on this ‘Java System Properties' page or

     (2) Operation Management -> Systems -> Start & Stop -> Java EE Services

3 Comments
MichalKrawczyk
Active Contributor
0 Kudos
Hi Kenny,

1. I believe the default value is false and not true as per

http://help.sap.com/saphelp_nwpi71/helpdata/en/59/25ee41c334c717e10000000a155106/content.htm

and per:
https://www.sdn.sap.com/irj/sdn/soa-servicebus?rid=/library/uuid/70b8adc3-728c-2a10-7fad-d43f29074ef...

2. I'm finding it hard to see anything on those pictures 🙂 can you put some more with little better quality ?

but thanks for the info of course 🙂

Regards,
Michal Krawczyk
kenny_scott
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi Michael,

  thanks for the feedback.
The default value is 'true' - check it yourself in the nwa. I will investigate getting the online help amended.

Apologies for the quality of the pictures; I will replace them with better quality ones.

Best Regards

  Kenny
zameerf
Contributor
0 Kudos

Hi Kenny,

Do you have any feedback on the level of performance impact?

Our client has dual stack PI 7.31 and most of the interfaces use ICO.

Is it wise to enable this logging?

Regards,

Zameer Farook