Enabling Logging


For troubleshooting purposes, you can enable logging in Spotfire. When you have enabled logging, actions and events in the Spotfire client are tracked in log files.

To enable logging:

  1. On the menu bar, select Help > Support diagnostics and logging.

  2. In the Support Diagnostics and Logging dialog, click the Logging tab.

  3. Click to expand the Log level drop-down menu, and then select the log level that you want to use.

    Tip: If you want to enable query logging for connectors, select DEBUG or TRACE.

  4. To view the Spotfire log files, click Open Folder.

  5. To save your changes and close the dialog, click OK.

The Spotfire log files

The Spotfire client uses two separate log files for logging, each designated for specific types of logging information.

Spotfire.Dxp.SupportDiagnostics.log

This is the general purpose log file, to which information about most events and actions in Spotfire is written.

You can control the level of detail of the information that should be captured in this log file, by configuring the log level.

Spotfire.Dxp.QueryLog.log

When you work with data connectors to analyze data from external data sources, information about all queries for data, that are generated and sent to external data sources from connectors, are stored in this log file. Each row in the file represents a query that was generated from a data connector running in Spotfire and sent to an external data source.

Logging of queries is enabled if you set the log level to TRACE or DEBUG.

Tip: If you want to read and analyze your log files in a convenient and powerful way, you can open the logs in Spotfire.

See also:

Details on Support Diagnostics and Logging