Tuesday, November 20, 2018

Using "Set Trace Flags" does not generate trace files/logs.


Many of PeopleSoft developers know that the best way to debug an issue in PS is by generating a trace. But, what if they can’t generate trace logs?

There are many different ways of generating trace, the most common is checking the flags on the login page:





By selecting the appropriate flags in the above image, the PeopleSoft application should trigger necessary code and generate logs. But, if someone is facing an issue where the application is not generating the logs then it’s most likely because of the following settings in Application Server configuration file:





By default, TraceSql  & TracePC is set to 0 . In order to generate the trace logs, the masks should be updated with the appropriate setting/number. One of the example is TraceSqlMask=12319 & TracePCMask=4095. Once the settings are updated re-start the App Server unless “Allow Dynamic Changes” is set to Y.

For more information, please refer to the following PeopleTools Peoplebooks link





No comments:

Post a Comment

Using "Set Trace Flags" does not generate trace files/logs.

Many of PeopleSoft developers know that the best way to debug an issue in PS is by generating a trace.  But, what if they can’t generate t...