Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to read SAP J2EE Engine log file using com.sap.tc.logging API

Hello Experts

I have a requirement that i want to read the log file from the J2EE Engine.

I am using a remote J2EE Engine.The Engine is running fine.I want to read the trace/log file present in the log folder of the server .

LoggingManager lManager = LoggingManager.getLoggingManager();

Collection collection = lManager.getAllLogs();

At this point am getting nothing in the collection.

Can any one please help me .I need a java class using this api to read the log file in the server.

Regards

Kalyan

Not what you were looking for? View more on this topic or Ask a question