Skip to main content

SOCKET_ADDR

Static SOCKET_ADDR 

Source
pub static SOCKET_ADDR: &str
Expand description

The filesystem path of the Unix Datagram Socket used for real-time log broadcasting.

The server’s background logging task sends a copy of each serialized Entry to this address after writing it to disk. The admin CLI (kosh-cli) binds to this socket to receive the live stream. If no client is bound, the send_to call fails silently — the server deliberately ignores the error so that the absence of the CLI never affects request-path performance.