on 11-04-2015 6:10 AM
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.
Anybody any suggestions please...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.