Setting action logging to write to a database from the configuration tool

If you need to capture action logs, you can set the Spotfire Server configuration file to write the action logs to a file, a database, or both. This topic discusses writing an action log to a database.

You can configure the action logs by using command-line commands. For more information, see Enabling action logging and system monitoring from the command line.

Prerequisites

  • You must have administrative credentials for Spotfire Server.
  • You must have a database established to collect the logs.

Procedure

  1. On the computer running Spotfire Server, click Start, go to the Spotfire Server folder, and click Configure TIBCO Spotfire Server.
  2. In the Configuration Start panel, click User Action log.
    User Action Log configuration options are displayed.
  3. For Enable database logger, click Yes.
  4. To set specific categories to log, for Enable categories, click Some Categories, and from the list, select the catetgories to log.
    Only those categories you select are added to the database logger queue. By default all categories are logged.
  5. To ensure certain categories are added to the database logger queue, select the Prioritized check box.
    See Database logging for more information.
  6. Complete the Database logger configuration section, specifying the required database connection information.
    Optionally, change the default configuration settings.
  7. Click Test connection to make sure the configuration works.
  8. Optional: Set the action logs to write to a file from the configuration tool.

What to do next

Configure the web service to log actions from the configuration tool. If you do not configure the web service, only actions that occur on the Spotfire Server are logged.

Save the configuration and restart all services and Spotfire Server for your changes to take effect.