cancel
Showing results for 
Search instead for 
Did you mean: 

Logging & Tracing in SAP PI 7.31 PO Web Proxy

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

rajasekhar_reddy14
Active Contributor
0 Kudos