cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

System.out.println();

Former Member
0 Likes
1,301

Hi everybody.

Could anyone please tell me where can I see the "System.out.println" sentences I code in my J2EE-Netweaver applications??

I supose it has to be an archive in the server... But... Which one?

Thanks a lot.

Alberto.

View Entire Topic
Former Member
0 Likes

Hi Alberto,

All the console and error messages of WAS are stored in the log deirectory under the server folder.

Check the following path for your case,

D:\saploc\GUR\JC00\j2ee\<b>cluster\server0\log\console_logs</b>

Hope this helps you,

Guru.

Former Member
0 Likes

Hi people, thanks for your answers, but... I cannot find anything in that directory

Are you are sure that System.out.println are stored in an archive in log directory??

This is supposed to be a very essential thing and I cannot find anything

Any other solution??

Thanks!

Former Member
0 Likes

Hi,

Use System.err.println() statements, as the severity level set to default file is different for System.out. Using System.err.println() statements you can see your statements.

regards,

Kiran

Former Member
0 Likes

Thanks for your reply Kiran, but System.err.println() doesn't let me configure the severity and the default file...

Maybe this could appear in a console instead of an archive???

Thanks.

Former Member
0 Likes

Hi Alberto,

You have to configure the SAP WAS to produce the console log files. Start the <b>Config Tool</b> -> Cluster Data -> Server -> Open the <b>Console Logs</b> tab, make sure that the logging is available by checking the check boxes and specify the path for your log files.

Now restart the server to make the settings take effect.

I think that will solve your problem

Best regards,

Guru.

PS: Award points for helpfull replies.