Each config has two fields for the NATS credentials: CredsFile (OCIS_NATS_CREDS_FILE;<SERVICE>_..._CREDS_FILE) and Creds (OCIS_NATS_CREDS;<SERVICE>_..._CREDS). envdecode sets each field on its own, and the content always won. Example: OCIS_NATS_CREDS set globally and GRAPH_CACHE_CREDS_FILE set for the service. The graph cache then used the global content and ignored the service file. The registry already used a different rule: the registry variables take precedence over the global variables. Use the registry rule everywhere. After envdecode decodes a struct, it resolves each CredsFile/Creds pair: when the file comes from a more specific environment variable than the content, the content is cleared. In the same scope the content still wins. A value from the config file has the lowest scope, because environment variables override the config file. Update the descriptions of the Creds fields, the nats README, and the changelog. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Clientlog Service
The clientlog service is responsible for composing machine readable notifications for clients. Clients are apps and web interfaces.
The Log Service Ecosystem
Log services like the userlog, clientlog and sse are responsible for composing notifications for a certain audience.
- The
userlogservice translates and adjusts messages to be human readable. - The
clientlogservice composes machine readable messages, so clients can act without the need to query the server. - The
sseservice 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.