Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt

The common.ini config file, located at /etc/squirro/common.ini configures common settings for all of the Squirro services.

For changes in this config file to be considered, all Squirro services must be restarted.

Table of Contents

Table of Contents
outlinetrue
excludeTable of Contents

Logging

The log level can be changed, so that more messages end up in the log files.

This setting is done in the [logger_root] section.

...

Key

...

Usage

...

Default

...

level

...

Set the log level that is written to the log files. Allowed values: DEBUG, INFO, WARN, ERROR.

...

INFO

Pipeline

Some pipeline settings are configured in the common.ini file. Others can be set in the ingester.ini file.

The following settings are done in the [pipeline] section.

...

Key

...

Usage

...

Default

...

step_plumber_timeout_secs

...

Timeout in seconds for how long a pipelet step (executed through the plumber service) may take. This applies to a full batch of items.

When changing this timeout, the nginx configuration also needs to be updated, as there is a separate timeout at play there. For the timeout to take full effect, also edit /etc/nginx/conf.d/plumber-fastcgi.inc and adjust the fastcgi_read_timeout value. Reload nginx after applying this change with sudo systemctl reload nginx.

...

600

Index

The [index] section in the common.in file manages certain index settings affecting how data is retrieved from the storage nodes or indexed.

...

Key

...

Usage

...

Default

...

default_abstract_size

...

The default length of returned abstract.

...

500

default_limit_size

...

Default limit of size of item to get in bytes. In an API call this can be ignored with the parameter oversize=true.

...

512000

Example Configuration

...

languagetext

...

This page can now be found at common.ini on the Squirro Docs site.