Skip to Content

Message Log not obtained

Hi SDNites,

I am currently working on Dual Stack. I am able to do all monitoring from SXMB_MONI but when I go to Message monitor in adapter engine, I am not able to view the Message log there though as per configuration it should maintain the details for a day. But I can see that message log for SOAP adapter only is visible,

19.02.2016 12:50:04.697 Information The message was successfully retrieved from the receive queue

19.02.2016 12:50:04.702 Information Delivering to channel: communicaion channel name

19.02.2016 12:50:04.702 Information MP: processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean

19.02.2016 12:50:04.702 Information Message status set to DLNG

19.02.2016 12:50:04.703 Information SOAP: Request message entering the adapter processing with user J2EE_GUEST

Can you please let me know why the same is happening as my objective is to make the sysytem compatible with Single stack going forward and all monitoring can be done with no hassles.

Also do we need to set some configuration parameters to make this happen and if yes can you please help me with details.

Regards,

Abhi

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • Posted on Feb 19, 2016 at 01:31 PM

    Hi Abhishek,

    please check what are all the channels u have through channel Monitoring, if you have IDOC and HTTP and XI adapters , those are not visible in Channel monitoring.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 19, 2016 at 01:32 PM

    Hi Abhishek,

    About the persitence of the PI messages in the adapter engine depends about your PI version and you can't do the same for PI dual or single stack, because in dual stack you will have logs on the abap engine with its own persistence but in single stack you only will have adapter engine and you can configure the persistence at channel level, adapter and so on.

    Vladilm Klimow have explained this behaviour better than me now in the next links:

    For single stack: Message Staging and Logging Options in Advanced Adapter Engine of PI/PO 7.3x/7.4

    For dual stack:How to persist the messages on Adapter engine? | SCN

    Summing up, it is not useless to know the persistence parametrization in one PI version if you are planning to migrate to upper one.

    Regards.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 19, 2016 at 02:28 PM

    Thanks Inaki / Vishu for the inputs.

    I have already gone through the links shared above. I have following question here,

    1. Parameter xiadapter.inbound.persistDuration.default and xiadapter.outbound.persistDuration.default are for persistance of message log in both adapter engine and Integration engine or not. If not can you help me with the parameters individually for the both the engines.

    2. If we increase the no. of days from default 1 day to 30 days, what will be the impact on performace and memory and how can I measure it.

    I have executed a File to File scenario (Sender file is split into multiple receiver file) in PRD enevironment and am not able to view the Message log for the same while if I execute the same in my QA environment I am able to view the message log. Can you let me know if there is any paramter which is affecting the same. What I have noticed in the past is that message log gets disappeared in 10-15 mins approx. (Note : paramters xiadapter.inbound.persistDuration.default and xiadapter.outbound.persistDuration.default are set for 1 day)

    Regards,

    Abhi


    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Abhishek,

      By default audit log entries are temporarily stored in memory not in the database.

      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.

      If you want to change this default behavior you need to change the parameter messaging.auditLog.memoryCache to false of XPI Service : Messaging System

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

      Check below sap note for more details.

      1314974 - Successful asynchronous messages - audit log persistence

      Regards,

      Praveen.

  • Posted on Feb 19, 2016 at 03:33 PM

    Thanks for the replies.

    @Raghu - The scenario which I have mentioned is built has no ICO configuration and is built using the conventional Pipeline approach. Please let me know your inputs.

    @Praveen - In both QA and PRD system the paramter you mentioned messaging.auditLog.memoryCache is maintianed as true. Also the File to split file scenario I mentioned has success in both QA and PRD.Please let me know why I am not able to view message log only in PRD but able to vew in QA. (Note : both message has been processed today and is in the limit of 24 hrs.)

    Also all please let me know your views on,

    1.Parameter xiadapter.inbound.persistDuration.default and xiadapter.outbound.persistDuration.default are for persistance of message log in both adapter engine and Integration engine or not. If not can you help me with the parameters individually for the both the engines.

    2. If we increase the no. of days from default 1 day to 30 days, what will be the impact on performace and memory and how can I measure it.

    Regards,

    Abhi

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 19, 2016 at 04:00 PM

    No pipeline steps dosen't have those properties.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 19, 2016 at 04:17 PM


    Hi Praveen,

    Is there any memory size or the no. of messages which fall under the limit and when can I see the same.

    Regards,

    Abhi

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Abhishek,

      Change the property messaging.auditLog.memoryCache to false of messaging system service then you can be able to see the audit log no other configuration required. Try this option first, if does not work then let us know.

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


      Regards,

      Praveen.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.