Skip to Content
avatar image
Former Member

Mask or disable some field in log

Hello,

Can i disable or mask (preferably mask) some tag values/fileds/tags in PI log system for ABAP side and JAVA side? (sxmb_moni and Runtime Workbench)

If this is not posible, can i disable logging for some Component/Process/Communication Channel etc..?

Example:

Incoming Message:

<Root>

<CreditCard>12345612-3456</CreditCard>

</Root>

Log Message:

<Root>

<CreditCard>XXXXXXXX-3456</CreditCard>

</Root>

Outgoing Message:

<Root>

<CreditCard>12345612-3456</CreditCard>

</Root>

Thank you.

Edited by: Depozitosuz on Sep 2, 2011 4:58 PM

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Sep 02, 2011 at 03:06 PM

    Hi,

    I do not think there is an out of the box solution for this in PI.

    However you can go for adapter modules:

    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0ac06cf-6ee2-2c10-df98-e17430ca5949?quicklink=index&overridelayout=true

    or other options like turining logging off for the entire payload:

    /people/michal.krawczyk2/blog/2007/04/30/xipi-personalized-logging-tracing

    This might be of interest to you:

    /people/michal.krawczyk2/blog/2006/01/02/xi-sxmbmoni--controlling-access-to-message-display

    Best Regards,

    Ravi

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 02, 2011 at 03:48 PM

    no standard solution available. But in case you want SAP to be influenced to give this to us as a standard option, do vote here - https://cw.sdn.sap.com/cw/ideas/4738

    Custom solution would be as mentioned here - http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0ac06cf-6ee2-2c10-df98-e17430ca5949?quicklink=index&overridelayout=true

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 03, 2011 at 02:08 PM

    Thank you Ravi, thank you Shabarish.. answers was very helpfull for me. Hope i will find a way to do this.

    I thinking to try LOGGING = 0 and Custom Adapter but using HTTP Adapter (POST) at the moment (i know its ABAP side). Is there any way to customize HTTP Adapter or i need to find another way?

    Maybe Trace level or Security level should solve this problem? Or schedule delete for logs.. (for each 10 sec etc..)?

    What do you think about this states/solutions?

    Edited by: Depozitosuz on Sep 3, 2011 4:16 PM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 05, 2011 at 09:06 AM

    answers was very helpfull.. thanks again..

    Add comment
    10|10000 characters needed characters exceeded