cancel
Showing results for 
Search instead for 
Did you mean: 

Java Mapping Traces in log viewer not getting showed up

om_prakash7
Explorer
0 Kudos

Hello Folks,

Hope you are fine.

I am working on PI 7I 7.4. single stack. I developed a small java mapping that is working fine. However I am not able to see the trace information which is written in Java mapping.

If I run java mapping locally then I am able to see the trace info.

capture.jpg

However when the interface is being executed end to end , I am not able to see the trace information.

capture.jpg

As per the below the link , I have set the trace level to "All".

https://blogs.sap.com/2013/09/18/tracing-in-sap-pi-731-single-stack/

but unfortunately still not able to see the trace . Please suggest.

Thanks.

Best Regards
Om Heerani

Accepted Solutions (1)

Accepted Solutions (1)

om_prakash7
Explorer
0 Kudos

Hello All,

Even I was checking the Trace log in log viewer as well and traces were not coming there as well.

But somehow after restarting the system, It worked.

Thanks for your time

Best Regards
Om Heerani

Answers (2)

Answers (2)

Ryan-Crosby
Active Contributor

Hi Om,

In order for you to see the entries in the message log you need to add audit log entries via the appropriate API in the java mapping. Once that code is added to your java mapping and re-deployed then you should see the information you want in the message log. I think I have a couple of examples if you need to see some.

Regards,

Ryan Crosby

Snavi
Active Participant
0 Kudos

Hi Om,

you can see the trace logs in log viewer and not in the message logs. The screenshot that you posted is from message logs. Did you checked for the trace logs in log viewer?

-Navdeep