cancel
Showing results for 
Search instead for 
Did you mean: 

How to view log file of SAP J2ee engine

Former Member
0 Kudos

Hi,

I have developed module and attached the same at communication channe.But I was not getting exact result. So, I wanted to debug the application. For that I put several print statements. So where can i check the log file of SAP J2ee engine?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

you can ask basis guys to give you the latest defaultTrace file from J2EE engine logs folder.

Note that if you have just used System.out.println statements, your statements wont come here directly unless the J2EE engine is applied with the new log settings for System.out. By default only system.err appears in defaultTrace....

so options could be...

1. Use system.out statements and ask basis guys to change the settings...

2. Use system.err statements and check out for relevant o/p in defaultTrace file

or you can make use of J2EE engine logs and trace classes to do this...

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Audit Log can also be a good option for debugging..

You can add your User Messages (like Sysouts) at various places and Check it in Details--Message Monitoring of Adapter engine.

Regards,

Sudharshan N A

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

have a look at my blog where I describe how to do it:

/people/michal.krawczyk2/blog/2005/09/07/xi-why-dont-start-searching-for-all-errors-from-one-place

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>