cancel
Showing results for 
Search instead for 
Did you mean: 

See logs for custom programs from without the logviewer in NWA

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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)

Former Member
0 Kudos

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.

Former Member
0 Kudos

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.

Answers (0)