Table of Contents
List of Tables
List of Examples
The event_flatstore module provides a logging facility for different events, triggered through the OpenSIPS Event Interface, directly from the OpenSIPS script. The module logs the events along with their parameters in plain text files.
flatstore:path_to_file
Meanings:
flatstore: - informs the Event Interface that the events sent to this subscriber should be handled by the event_flatstore module.
path_to_file - path to the file where the logged events will be appended to. The file will be created if it does not exist. It must be a valid path and not a directory.
The following libraries or applications must be installed before running OpenSIPS with this module loaded:
none
Defines the maximum number of simultaneously opened files by the module. If the maximum limit is reached, an error message will be thrown, and further subscriptions will only be possible after at least one of the current subscriptions will expire.
Default value is “100”.
Example 1.1. Set max_open_sockets
parameter
... modparam("event_flatstore", "max_open_sockets", 200) ...
Sets the separator between the parameters of the event in the logging file.
Default value is “,”.
It makes the processes reopen the file specified as a parameter to the command in order to be compatible with a logrotate command. If the function is not called after the mv command is executed, the module will continue to write in the renamed file.
Name: evi_flat_rotate
Parameters: path_to_file
MI FIFO Command Format:
opensips-cli -x mi evi_flat_rotate _path_to_log_file_
Table 2.1. Top contributors by DevScore(1), authored commits(2) and lines added/removed(3)
Name | DevScore | Commits | Lines ++ | Lines -- | |
---|---|---|---|---|---|
1. | Vlad Patrascu (@rvlad-patrascu) | 26 | 16 | 482 | 303 |
2. | Ionel Cerghit (@ionel-cerghit) | 23 | 13 | 770 | 135 |
3. | Liviu Chircu (@liviuchircu) | 12 | 9 | 31 | 62 |
4. | Razvan Crainea (@razvancrainea) | 9 | 7 | 36 | 5 |
5. | Eseanu Marius Cristian (@eseanucristian) | 7 | 3 | 254 | 9 |
6. | Bogdan-Andrei Iancu (@bogdan-iancu) | 5 | 3 | 7 | 4 |
7. | Maksym Sobolyev (@sobomax) | 5 | 3 | 4 | 4 |
8. | Peter Lemenkov (@lemenkov) | 3 | 1 | 1 | 1 |
(1) DevScore = author_commits + author_lines_added / (project_lines_added / project_commits) + author_lines_deleted / (project_lines_deleted / project_commits)
(2) including any documentation-related commits, excluding merge commits. Regarding imported patches/code, we do our best to count the work on behalf of the proper owner, as per the "fix_authors" and "mod_renames" arrays in opensips/doc/build-contrib.sh. If you identify any patches/commits which do not get properly attributed to you, please submit a pull request which extends "fix_authors" and/or "mod_renames".
(3) ignoring whitespace edits, renamed files and auto-generated files
Table 2.2. Most recently active contributors(1) to this module
Name | Commit Activity | |
---|---|---|
1. | Maksym Sobolyev (@sobomax) | Feb 2017 - Feb 2023 |
2. | Liviu Chircu (@liviuchircu) | Jan 2016 - Dec 2021 |
3. | Vlad Patrascu (@rvlad-patrascu) | Jun 2015 - Jul 2020 |
4. | Razvan Crainea (@razvancrainea) | Aug 2015 - Sep 2019 |
5. | Bogdan-Andrei Iancu (@bogdan-iancu) | Jun 2018 - Apr 2019 |
6. | Peter Lemenkov (@lemenkov) | Jun 2018 - Jun 2018 |
7. | Ionel Cerghit (@ionel-cerghit) | Jun 2015 - Jul 2015 |
8. | Eseanu Marius Cristian (@eseanucristian) | Jun 2015 - Jul 2015 |
(1) including any documentation-related commits, excluding merge commits
Last edited by: Razvan Crainea (@razvancrainea), Peter Lemenkov (@lemenkov), Liviu Chircu (@liviuchircu), Vlad Patrascu (@rvlad-patrascu), Ionel Cerghit (@ionel-cerghit).
Documentation Copyrights:
Copyright © 2015 www.opensips-solutions.com