event-logs

Last modified by Buildbot on 2024/04/25 01:12

 Documentation based on repostory git version commit 2.4.0-alpha-163-g766e8a2f 

Event logs

Event logs contain per domain and user information about processed registrations, calls and messages.
See: https://wiki.linphone.org/xwiki/wiki/public/view/Flexisip/Event%20logs%20and%20queries/ for architecture and queries.
----

Configuration options:

NameDescriptionDefault ValueDefault UnitType
enabled

Enable event logs.

 false Boolean
logger

Define logger for storing logs. It supports "filesystem", "database" and "flexiapi".

 filesystem String
filesystem-directory

Directory where event logs are written as a filesystem (case when filesystem output is chosen).

 /var/log/flexisip String
database-backend

Type of backend that Soci will use for the connection.
Depending on your Soci package and the modules you installed, the supported databases are:`mysql`, `sqlite3` and `postgresql`

 mysql String
database-connection-string

Configuration parameters of the backend.
The basic format is "key=value key2=value2". For a mysql backend, this is a valid config: "db=mydb user=user password='pass' host=myhost.com".
Please refer to the Soci documentation of your backend, for instance: http://soci.sourceforge.net/doc/master/backends/#supported-backends-and-features

 db='mydb' user='myuser' password='mypass' host='myhost.com' String
database-max-queue-size

Amount of queries that will be allowed to be queued before bailing password requests.
This value should be chosen accordingly with 'database-nb-threads-max', so that you have a coherent behavior.
This limit is here mainly as a safeguard against out-of-control growth of the queue in the event of a flood or big delays in the database backend.

 100 Integer
database-nb-threads-max

Maximum number of threads for writing in database.
If you get a `database is locked` error with sqlite3, you must set this variable to 1.

 10 Integer
flexiapi-host

Domain name or IP address of the FlexiAPI host. This setting will be used in combination with flexiapi-port and -prefix to contact the API located at <flexiapi-host>:<flexiapi-port><flexiapi-prefix>

 localhost String
flexiapi-port

Port on the FlexiAPI host. See `flexiapi-host` for details.

 443 Integer
flexiapi-prefix

Path prefix for FlexiAPI requests. See `flexiapi-host` for details.

 /api/stats/ String
flexiapi-api-key

API authentication key for the FlexiAPI

  String