Skip to main content
Kofax

How to activate SPDEBUG Logging in ONE step

Goal:

This article describes, how to quickly activate SPDEBUG.log logging for "SignDoc Desktop" or "SignDoc for Adobe Reader" without doing manual changes in environment variables, etc.

Solution:

Find find 2 batch files available for download here:
spdebug-sddesktop.bat
and
spdebug-sd-for-Adobe.bat

If you use SignDoc Desktop or SignDoc for Adobe Reader you will need to use the respective spdebug-sddesktop.bat file or the spdebug-sd-for-Adobe.bat.

Please proceed with following steps (explaining how it works for Signdoc Desktop using the spdebug-sddesktop.bat)

1.) Copy the spdebug-sddesktop.bat to the workstation where you want to troubleshoot SignPad connectivity issues with SignDoc Desktop.
2.) Copy the spdebug-sddesktop.bat to a folder of your choice, read/write access are required.
3.) If SignDoc Desktop is already opened, please close it.
4.) Doubleclick on spdebug-desktop.bat. It will set the LogLevel Parameters and starts Signdoc Desktop in the same session.
5.) Reproduce the problem, close SignDoc Desktop. The logfile named spdebug-sddesktop.log has been written into the same directory, where you copied the batch file to.

Please note SPDEBUG loglevel parameters are only set for this one session. Next time you start SignDoc Desktop the Default LogLevels are used (SPDEBUG = 0)

content of attached batch file spdebug-sddesktop.bat

SET SPDEBUG=5
SET splm2debug=3
SET SPDEBUGDIR=spdebug-sddesktop.log
"%ProgramFiles(x86)%\Kofax\SignDocDesktop\SignDoc32.exe"

content of attached batch file spdebug-sd-for-Adobe.bat

SET SPDEBUG=5
SET splm2debug=3
SET SPDEBUGDIR=spdebug-sd-for-Adobe.log
"%ProgramFiles(x86)%\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe"

You might need to change the path to AcroRd32.exe based on the installed Adobe Reader version. The attached spdebug-sd-for-Adobe.bat is valid for version Adobe Reader DC, but might not be valid for other Adobe Reader versions.

You can change the loglevel parameters in the batch files as you like or as recommended by Kofax Technical Support.
Please check article https://knowledge.kofax.com/E-signat...on_via_SPDEBUG to get more information about SPDEBUG Logging