Setting action logging to write to a file 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 file.

Log files are not removed automatically. If you enable action logging to write to a file, remember to manage space needs for the resulting log files. By default, log files are written on a daily basis, but the configuration can be changed. See Setting the action log interval for more information.

Prerequisites

You must have administrative credentials for Spotfire Server.

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 file logger, select Yes, and then save the configuration.
    The Save configuration dialog is displayed, prompting you to write to a database (the recommended default), or to a file.
  4. Select File, and then click Next.
    A Save dialog is displayed, prompting you to specify the directory to store the XML configuration files.
  5. Browse to a directory to store the files, provide a file name, and then click Save to save the configuration.
    The action logs are written to the specified file path at the interval specified in the log4j2 configuration file.
  6. Optional: Set the action logs to write to a database 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.