cancel
Showing results for 
Search instead for 
Did you mean: 

Question on logging in SAP Netweaver Servlet

Former Member
0 Kudos

Hi,

I am on SAP Netweaver 7, and have written a servlet to be deployed on the app server. I have written the servlet using the Dev Studio.

My question is regarding logging messages from the server.

I can log messages to the browser using PrintWriter class, and can log messages to another file using other logging framework. Not an issue.

However, I want to know, when I write

System.out.println("mesg");

in the servlet, where does this get logged?

For instance, when I do this on a tomcat servlet, it gets logged to catalina.out. What happens in the case of SAP Netweaver app server?

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi,

It goes to the default traces. However you have to change the severity of location System.out to ALL. You can do this via Visual Admin or NWA. No restart is needed in order to have the changes applied.

Best regards,

Vesselin