Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 04, 2015 at 08:42 AM

    Adding a screenshot .. please help.


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

  • author's profile photo Former Member
    Former Member
    Posted on Nov 05, 2015 at 12:59 PM

    Anybody any suggestions please... 😔

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.