Skip to Content
avatar image
Former Member

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Nov 04, 2015 at 08:42 AM

    Adding a screenshot .. please help.


    pastedImage_0.png (10.9 kB)
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 05, 2015 at 12:59 PM

    Anybody any suggestions please... 😔

    Add comment
    10|10000 characters needed characters exceeded