Problem:
Debug logging can be turned ON in Spotfire Analyst to generate detailed logs for troubleshooting client issue. Standard method is to go to Help > Support Diagnostics and Logging > Logging and set the log level to DEBUG. Once the investigation is completed the log should be turned off to prevent disk space from filling up. If you are looking for a quicker way to turn ON/OFF the log this tip is for you.
Resolution:
1. Find the full path of Spotfire Analyst executable (Spotfire.Dxp.exe) which usually resides in one of the following directory.
- %localappdata%\TIBCO\Spotfire\<version>
- C:\Program Files (x86)\TIBCO\Spotfire\<version>
2. Create a shortcut of the executable in your Desktop.
3. Edit the shortcut and modify the value of 'Target' as follows.
Before:
"Spotfire Analyst installation path>\Spotfire.Dxp.exe"
After:
"Spotfire Analyst installation path>\Spotfire.Dxp.exe" /debug
Please note the /debug parameter should be added exactly as above and should not be included in the path i.e not within the quotes"".
4. Save the change to shortcut.
5. Spotfire session that has been started from the modified shortcut will have the debug log turned ON. Starting the session from any other method will have logging reverted to its former state.