on 10-29-2009 10:51 PM
Hello Experts,
The developers want to see the logs for their custom programs from without the logviewer in NWA.
Do you have any experience or know of any reference materials to instruct them on where to write their logs, and how to configure NWA to see them?
Thanks
Jibin.
Hello Jibin,
Your developers should familiarize themselves with the Logging Framework of the J2EE Engine.
Here is the guide:
http://help.sap.com/saphelp_nw04/helpdata/EN/a2/15ab41d60bcb46e10000000a155106/frameset.htm
If they use the Logging Framework you would be able to access the logs through NWA.
Regards,
Ventsi Tsachev
Technology Development Support (J2EE Engine)
SAP Labs, Palo Alto, Ca (USA)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Ventsi,
Actually requirement for our developers is , whenever java development programs throws any errors it needs to be saved in a seperate file and it should be configured in such a way that it can be viewed from NWA.
They are not much concerned on in-built NWA logviewer functionality.
Can we have this possible ? if yes what would be the procedure for the same.
Is the link you mentioned talks about same thing ?
Thanks in advance.
Regards,
Jibin.
It seems like you intend to implement your logging in manner that is not effective. I don't think the logging framework allows you to write each message in separate file, because you have to specify the log destination in the log-configuration.xml file during development ---> http://help.sap.com/saphelp_nw04s/helpdata/EN/04/4795bf75082a4088b9093e4722fa86/frameset.htm
Please read the whole section "How to Write Useful Log and Trace Messages" and you would get clear idea how the logging should be implemented. There are also examples in the article.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.