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
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 |
---|---|---|
| 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 |
---|---|---|
| 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 | 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 |
---|---|---|
| The default length of returned abstract. | 500 |
| Default limit of size of item to get in bytes. In an API call this can be ignored with the parameter | 512000 |
Example Configuration
[handlers] keys = file [logger_root] handlers = file level = DEBUG [handler_file] dir = /var/log/squirro args = ('%(dir)s/%(application)s/%(application)s.log', 'a', 52428800, 1)