Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions admin_manual/configuration_server/activity_configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ The following ``config.php`` options control Activity app behavior.
- ``[]``
- An array of user IDs whose activity records are never deleted
by the expiration job. See :ref:`label-activities-exclude-users`.
* - ``activity_log_exclude_users``
- ``[]``
- An associative array of [ user_ID => event_types_array ]. For each user the
associated event types won't be logged. See :ref:`label-activity_log_exclude_users`.
Comment on lines +92 to +95


.. _label-activities-groupfolders:
Expand Down Expand Up @@ -146,6 +150,22 @@ data, for example administrators. Set the config value
For these users, their activity records will never be deleted from the
database.

.. _label-activity_log_exclude_users:

Excluding event types for users
----------------------------------------

For certain users, it might make sense to exclude some event types from
being logged. For example set the config value
``activity_log_exclude_users`` in your ``config.php``::

'activity_log_exclude_users' => [
'alice' => ['file_created'],

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure if there is a reference for event types already - if there is, please link it somewhere here

'bob' => ['file_created', 'file_changed' ]
]
Comment on lines +162 to +165

For these users and event types a log record won't be created.


Better scheduling of activity emails
-------------------------------------
Expand Down
Loading