cancel
Showing results for 
Search instead for 
Did you mean: 

Category.infoT, Category.logT

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Anybody any suggestions please...

vijay_kumar49
Active Contributor
0 Kudos

Provide mode details about application and error

Former Member
0 Kudos

Adding a screenshot .. please help.