Expand description
The last access-log lines in memory, and live followers of new ones,
for the admin API (18.10.0). Off until enable: then each batch the
access-log sink writes out (every 100 ms, off the request path) is also
split into lines here.
Constants§
- CAPACITY
- Lines kept for
recent. - MAX_
FOLLOWERS - Followers at once; more are refused.
- MAX_
LINE - A longer line is cut to this many bytes (on a character boundary).
Functions§
- enable
- Start keeping lines (the admin listener does, at start).
- follow
- Add a follower:
falsewhenMAX_FOLLOWERSalready follow. - recent
- The last
nlines, oldest first.