Capturing debug logs

Sankarguru Mani

Active Member
Hello All,
Is there anyway to capture log of an UBE which is called from business function. In my case, I am running UBE "A" on server which is calling a business function. This business function calls another UBE "B". When I enable debug logs for troubleshooting while running UBE "A", second UBE logs were not captured. Is there a way to capture debug logs for entire flow?
-Sankarguru Mani
XE
SP23
 
I assume the business function that is calling the UBE is using jdeLaunchUBE (or a variation of jdeLaunchUBE) to do this? The PUBEVAR parameter of this function is a structure that contains the following fields that control debugging:
ushort nDebugLevel;
BOOL bJDELog;
BOOL bJDEDebugLog;

Set the bJDEDebugLog to 1 and the nDebugLevel to 6 to generate debug logs for UBE "B".

Hope this helps.
 
Back
Top