Monday, May 26, 2008

How to turn SQL Trace and PeopleCode Trace on an App Engine

1. Go into the process definition of the Application Engine

2. On the "Override Options" tab, on the parameter list, choose APPEND and enter the following:


-TRACE 7 -TOOLSTRACEPC 3596 -TOOLSTRACESQL 131

Change the numbers to reflect the level of tracing you desire.


3. Run the App Engine through the normal processing pages. In the process monitor, you can retrieve the SQL and PeopleCode trace files with the logs.

4. Once you are finished, change the settings back (most likely it was originally set as NONE).