Skip to Content

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

Category.infoT, Category.logT

Hi,

I am trying to code for logging in webservice(EJB). NW7.0 java 1.4 . using com.sap.tc.logging api.

when i use loc.log() or loc.debugT() , the logs are not recorded in nwa - default trace.

when i use cat.logT() or cat.infoT() , the logs are recorded in nwa-default trace but for same method it is recording one error record and one info record.

for example

cat.logT(Severity.INFO,loc, "inside something");

the output in nwa is one record for severity- info with the message inside something.

one more record for severity- error with the same message inside something.

and the same output when i use cat.infoT() also.

am i wrong anywhere? do we need any configuration? why the logs are not recorded when i use loc.debugT() or loc.log() please correct me.. please help me with any sample code for logging in NW7.0.

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