--- title: Activitylog Service date: 2024-08-13T09:37:16.520581198Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/services/activitylog geekdocFilePath: README.md geekdocCollapseSection: true --- ## Abstract The `activitylog` service is responsible for storing events (activities) per resource. ## Table of Contents * [The Log Service Ecosystem](#the-log-service-ecosystem) * [Activitylog Store](#activitylog-store) * [Example Yaml Config](#example-yaml-config) ## The Log Service Ecosystem Log services like the `activitylog`, `userlog`, `clientlog` and `sse` are responsible for composing notifications for a specific audience. - The `userlog` service translates and adjusts messages to be human readable. - The `clientlog` service composes machine readable messages, so clients can act without the need to query the server. - The `sse` service is only responsible for sending these messages. It does not care about their form or language. - The `activitylog` service stores events per resource. These can be retrieved to show item activities ## Activitylog Store The `activitylog` stores activities for each resource. It works in conjunction with the `eventhistory` service to keep the data it needs to store to a minimum. ## Example Yaml Config {{< include file="services/_includes/activitylog-config-example.yaml" language="yaml" >}} {{< include file="services/_includes/activitylog_configvars.md" >}}