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
21 changes: 21 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,11 @@ 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, mapping user IDs to an array of event type strings.
For each user the associated event types will not be logged.
See :ref:`label-activity_log_exclude_users`.


.. _label-activities-groupfolders:
Expand Down Expand Up @@ -146,6 +151,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'],
Comment thread
Aiiaiiio marked this conversation as resolved.
'bob' => ['file_created', 'file_changed'],
]
Comment thread
Aiiaiiio marked this conversation as resolved.

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


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