How To: Enable core exception tracking debug logs in TPF
112
Created On 11/10/26 10:57 AM - Last Modified 11/10/26 12:55 PM
Objective
Starting from TPF v24.3, there is a built-in feature that allows you to capture error stacktraces by adding a registry entry to the affected TPF server. This can be especially useful in cases where a VSC capture is not possible (i.e. the service never starts, or the service crashes before you can attach a monitor).
Environment
24.3;25.1;25.3;26.1 TPP/TLSPDC TLSPDC
Procedure
- Remote into the TPF server where you are troubleshooting the issue.
- *Ensure the operation you are troubleshooting is actually running on that server, for example set the processing engine if necessary.
- We will change the registry, so please create a backup of the server (VM snapshot, etc.).
- Open 'Registry Editor' and navigate to the location:
-
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Venafi\Platform
-
- If it does not already exist, right-click in the white space and create a new 'String Value' called:
-
Core Exception Tracking
-
- One created, double-click it and update the 'Value data' to:
-
Enabled
-
- No restart is required and any captured exceptions will be written to:
-
C:\Program Files\Venafi\Logs\VenafiTrackedExceptions.MM.DD.HH.mm.ss.ms<random>.txt
-
- Reproduce the issue and check the following path for debug logs:
-
C:\Program Files\Venafi\Logs
-
- If the process is cleanly shut down, all of the associated 'VenafiTrackedException' files will be combined into a single summary file.
- Once you are done troubleshooting, modify the registry entry 'Value' to stop debug logging (No restart required):
-
Disabled
-
- Process complete.