40 lines
1.6 KiB
Markdown
Executable File
40 lines
1.6 KiB
Markdown
Executable File
---
|
|
title: Clientlog Service
|
|
date: 2025-04-24T00:36:06.615058329Z
|
|
weight: 20
|
|
geekdocRepo: https://github.com/owncloud/ocis
|
|
geekdocEditPath: edit/master/services/clientlog
|
|
geekdocFilePath: README.md
|
|
geekdocCollapseSection: true
|
|
---
|
|
|
|
<!-- Do not edit this file, it is autogenerated. Edit the service README.md instead -->
|
|
|
|
## Abstract
|
|
|
|
|
|
The `clientlog` service is responsible for composing machine readable notifications for clients. Clients are apps and web interfaces.
|
|
|
|
|
|
## Table of Contents
|
|
|
|
* [The Log Service Ecosystem](#the-log-service-ecosystem)
|
|
* [Clientlog Events](#clientlog-events)
|
|
* [Example Yaml Config](#example-yaml-config)
|
|
|
|
## The Log Service Ecosystem
|
|
|
|
Log services like the `userlog`, `clientlog` and `sse` are responsible for composing notifications for a certain 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.
|
|
|
|
## Clientlog Events
|
|
|
|
The messages the `clientlog` service sends are intended for the use by clients, not by users. The client might for example be informed that a file has finished post-processing. With that, the client can make the file available to the user without additional server queries.
|
|
## Example Yaml Config
|
|
{{< include file="services/_includes/clientlog-config-example.yaml" language="yaml" >}}
|
|
|
|
{{< include file="services/_includes/clientlog_configvars.md" >}}
|
|
|