Skip to Content

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

https://weblogs.sdn.sap.com/weblogs/images/33842/messagingsystemservice-changeproperty

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

/wp-content/uploads/2009/03/restartservices_58185.jpg

To report this post you need to login first.

3 Comments

You must be Logged on to comment or reply to a post.

  1. Michal Krawczyk
    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-d43f29074ef8

    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

    (0) 
    1. Kenny Scott Post author
      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

      (0) 
  2. Zameer Hamza Farook

    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

    (0) 

Leave a Reply