Skip to Content
avatar image
Former Member

How to keep rwb audit log more days

Hi experts,

Simple question. When I access to the audit log in the runtime workbench of messages which are older than one day, the audit log is empty.

Where I can change the days the audit log is keeping the data?

Thank you!

Ignasi

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Mar 29, 2010 at 01:05 PM

    Hi Ignasi,

    audit log entries of successful processed messages are not saved to database anymore. Check note 1314974:

    "The persistence of audit logs for successfully processed 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"

    Regards

    Markus

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 03, 2010 at 09:59 AM

    Hi Ignasi,

    please have a look into your sxmb_adm -> Integration Engine Configuration.

    The Parameters you should check are PERSIST_DURATION and PERSIST_DURATION_ERROR.

    But be aware that this could cause a growing Database.

    kind regards,

    Christoph

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      You can check the logs for the system errors ,successful messages in Adapter Messaging system...

      url for the same is http://host:port/MessagingSystem and provide the filter as Message id ,remember to convert it to lowercase during the filter criteria..and remove date also..

      HTH

      Rajesh

  • avatar image
    Former Member
    Mar 03, 2010 at 04:29 PM

    HI

    May be you should speak with BASIS Admin to reslove the RWB Audit log Issue,as a pi developer i dont think that we can resove this issue.

    regards.

    Vrma

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 03, 2010 at 05:01 PM

    Stored in table XI_AF_MSG in J2EE DB schema (see SAP Note 500340 how to determine table)

    Persistence set in Adapter Framework ( Visual Admin) (see SAP Note 791379 for documentation)

    Persistence is only valid for NEW Messages. For old messages SQL must be used to change persistence (see SAP Note 790226)

    As of SP11 there is a Web Interface to change the retention period (see SAP Note 807615)

    Parameters of the Adapter Framework are documented in note 791655

    -sekhar

    Add comment
    10|10000 characters needed characters exceeded