cancel
Showing results for 
Search instead for 
Did you mean: 

How to add log to an application

Former Member
0 Kudos

Hi,

Can anyone give me the procedure for how to add logs to my application

Regards

Padma

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos
Former Member
0 Kudos

Hi,

i implemented BasicUIElements In WebDynpro application .Now i want to keep logger for this application

can u tell me how to add log now......

Regards

Padma

Former Member
0 Kudos

Padma. My understanding is that logging is the same way in Web Dynpro as in a normal J2EE app.

Maybe this section in sap.help will be of use to you.

http://help.sap.com/saphelp_nw04s/helpdata/en/fe/4f5542253fb330e10000000a155106/frameset.htm

I haven't personally used SAP's logging because we ported our apps from WebSphere and we were already using log4j. We evaluated SAP's logging and didn't find that the work involved to switch or bridge log4j to SAP's logging was worth it.

Good luck

Former Member
0 Kudos

Hi Padma,

Can you please explain what exaclty you need.LOG in the sence do you want to check the error messages of your application?

If that is the case there will be many XML files at your server , the path for that is


<servername>\Serverlog\defaultTrace.* there will be many XML files .

arrange icons by modified and check the recent one.

You need permission to access those files.for that contact your server administrator to share that folder for you

Regards

Chaitanya.A