cancel
Showing results for 
Search instead for 
Did you mean: 

Mask or disable some field in log

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

answers was very helpfull.. thanks again..

Former Member
0 Kudos

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

Shabarish_Nair
Active Contributor
0 Kudos

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-e17430ca5...

former_member181962
Active Contributor
0 Kudos

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-e17430ca5...

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