Skip to content

Backend SharedFile

Eduard Mishkurov edited this page Jan 7, 2026 · 1 revision

SharedFile Backend

The SharedFile backend writes log messages to a file that may be accessed by multiple processes simultaneously.

Purpose

Some environments require multiple applications to write to the same log file without exclusive file locking.

The SharedFile backend supports this scenario.

Behavior

  • The backend attempts to acquire file access only when flushing data
  • If the file is temporarily unavailable, the write is skipped or retried
  • Exclusive locking is avoided

Use Cases

  • Multi-process logging
  • Shared service logs
  • System-wide log files

Clone this wiki locally