Quantcast
Viewing all articles
Browse latest Browse all 6719

Logging & Tracing in SAP PI 7.31 PO Web Proxy

Hi

Can anyone tell me how to add enable logging for web proxy and add also tracing statements into the Web proxy.

So that i can go and check the logs in NWA-->Troubleshoot--> log and tracing --> log viewer.

 

I have added the following statement into my web proxy code, but still i don't see anything into log viewer.

---------------------------------------------------------------------------------------------------------------------------------------------------------

public static final String VERSION_ID = "$Id://tc/aii/30_REL/src/_adapters/_sample/java/user/module/GetHostName.java#1 $";

private static final Trace TRACE = new Trace(VERSION_ID);

String SIGNATURE = "process(ModuleContext moduleContext, ModuleData inputModuleData)";

TRACE.debugT(SIGNATURE, "Hello, i am inside the code now.");

---------------------------------------------------------------------------------------------------------------------------------------------------------

Is the above code fine or there is some other way??

 

Also,Do i need to make changes to any parameters in LogConfigurator?

 

 

Thanks and Regards

Osman Abdul Aziz Jabri


Viewing all articles
Browse latest Browse all 6719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>