cancel
Showing results for 
Search instead for 
Did you mean: 

How to view log of the exception occured in an application

Former Member
0 Kudos

Hi All,

While running the webdynpro application in the portal currently we are displaying some generic error messages in the catch block to make it user friendly.

If some exception occurs, how is it possible for the user to view the error log in the portal itself so that the user may get a clear and detailed description of the same.

Kindly suggest a solution for this.

Thanks,

Mitali

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Mitali,

To view the logs use the url http://<host>:<port>/nwa > Monitoring

OR

can look up the exception ID by doing the following.

1. Navigate to System Administration->Support->Portal Runtime->Log Viewer

2. Enter the exception id in the Search box and click on search in all files.

3. It should popup a new window with your error message.

OR

all of your portal logs will go to defaultTrace.trc which is located under cluster/server0/log

You can still watch this file through the portal log viewer.

OR

It it does not work for changes in the log viewing

See the following:

http://help.sap.com/saphelp_nw04/helpdata/en/ba/0aa94076b63713e10000000a155106/frameset.htm

Reagrds.

Rajat

Former Member
0 Kudos

Hi,

You can see the log trace in Nwtweaver Administrator also.

Go to nwa> Problem Management>Logs and Traces>Show View> from the dropdown selection you can see the respective log trace.

Regards,

Gayathri.

Former Member
0 Kudos

Hi,

You can open the server0.log or defaultrc.log file to see the detailed log. Same files can also be opened from logviewer for better viewing.

Regards,

Murtuza