on 11-19-2007 12:08 PM
Hi, I have been trying to use log-configuration.xml but it seems like i cannot get it to work at all.
I have a host of Dynpro Applications integrated through portal. And i want to log error details into a log file and also display it to the end-user in some form.
Please suggest me ideas for how can i get through it.
Releavant answers will certainly be rewarded. Please Help !!
Thnx
kindly refer this Link u have full information for implementing Logging and tracing.
<A HREF="http://help.sap.com/saphelp_nw2004s/helpdata/en/42/f2320a49c41aa2e10000000a422035/content.htm">Logging and Tracing</A>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kunal,
were you able to resolve this issue ? im facing a similar situation. I started a new thread explaining my issue but i didn't get any response yet. if your problem is resolved, i would really appreciate a reply from your side.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raji,
Yea, i hv been able to implement this loggin & tracing. I would certainly like to know how can i help u. To make a note, I hv done this through NWA coz the so called Visual Admin is depricated. I hv attached a sample code to help u out.
Some of the neccessary imports:
import com.sap.tc.logging.Category;
import com.sap.tc.logging.Location;
import com.sap.tc.logging.Severity;
The actual method
public myMethod( )
{
.
.
.
.
.
.
String l_method = "myMethod( )";
try{
.
.
.
.
.
.
} catch (SQLException e) {
cat_db.logThrowableT(Severity.ERROR,logger,l_method,g_str_MSG,e);
}
u can use cat_db.infoT(...) for loggin
This cat_db is a category variable & logger is a location variable
After execution of this method, u can view result thro NWA.
Thanx
Edited by: kunal kotak on Dec 21, 2007 10:25 AM
Hi,
Go through this
Enabling Logging for an Application http://help.sap.com/saphelp_nw70/helpdata/en/c6/cc218997893949900a1eafca819246/content.htm
How to Write Useful Log and Trace Messages
http://help.sap.com/saphelp_nw70/helpdata/en/f4/d1e6418b7eca17e10000000a155106/content.htm
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kunal
You can check your Log in the server at the following path
<b>
<servername>\Serverlog\defaultTrace.* </b> there will be many XML files .
arrange icons by modified and check the recent one.
You need permission to access those files.you can get these details from your server administrator and ask him to share that folder for you
For more help <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/fe/4f5542253fb330e10000000a155106/frameset.htm">Go Through This</a>
Regards
Chaitanya.A
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
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.