TIBCO Spotfire® Server and Environment - Installation and Administration

Setting action logging to write to a file using the configuration tool

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

About this task

Alternatively, you can also configure the action logs by using command-line commands.
Note: 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, new log files are created on a daily basis, but the configuration can be changed in the log4j2.xml configuration file. See Setting the action log interval for more information.

Before you begin

Procedure

  1. On the computer running Spotfire Server, click Start, and locate and click Configure TIBCO Spotfire Server.
  2. On the Configuration page, click User Action log.
    User Action Log configuration options are displayed.
  3. For Enable file logger, select Yes.
  4. Optionally, 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.
  5. At the bottom of the page, click Save configuration.
    The Save configuration wizard is displayed. Database (recommended) is the pre-selected option, used to immediately apply the new configuration.
  6. Click Next.
  7. Enter a comment about the changes done to the configuration, and then click Finish.

What to do next

Restart all services and Spotfire Server for your changes to take effect. The action logs are written to the <server installation dir>\tomcat\logs\actionlogs folder.