TIBCO Spotfire® Server and Environment - Installation and Administration

Enabling action logging and system monitoring using the command line

By default, action logging and system monitoring is not enabled. You can enable it from the server command line.

About this task

From the command line, running the enable-action-logging command is the first step.

Before you begin

You must have administrative credentials for Spotfire Server.

Procedure

  1. Log in to the Spotfire Server, and from the Start menu, open a command-line window as administrator.
  2. Browse to <installation dir>\tomcat\spotfire-bin.
  3. At the command prompt, type the command config config-action-logger, passing in the arguments specifying where to record the logs.
    • To write the action logs to a file, type the following.
      config config-action-logger --file-logging-enabled=true --database-logging-enabled=false
      Important: 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. See Setting the action log interval for more information.
    • To write the action logs to a database, type the following.
      config config-action-logger --file-logging-enabled=false --database-logging-enabled=true
    • To write the action logs to both a file and a database, type the following.
      config config-action-logger --file-logging-enabled=true --database-logging-enabled=true
    In these examples, other command-line defaults are accepted. For example, the default configuration enables all categories for logging ( categories="all"). To limit the enabled categories, provide a comma-separated list. See Action log categories for a complete list.
    For information about all available options for this command, see config-action-logger.

What to do next

  • If you specify the database option, configure the action log to write to the database you use.
  • To specify which services are allowed for logging on the server, see configure the action log web service.