The bot log domain has a filter in the tree, unwired #111
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
lib/revenant/log_filter.exandlib/revenant/log_file.ex(Rev.LogFilter,Rev.LogFile) are in the tree and referenced by nothing: no supervisionchild, no config, no caller. They implement per-domain log streams with
in-game mute/unmute — exactly what a bot fleet needs when five hundred nav
lines a minute start drowning the operator's terminal — but they predate the
tree's naming conventions and their stream-prefix table points at module
namespaces that do not exist here.
The bot subsystem (
feat/bots) tags every log linedomain: [:bot]already,so wiring the filter is a drop-in when it happens:
table at
Bot.*Revenant.start/2::logs/::unmute <domain>commands the filter was built toserve, under the existing permission conventions
Until then, ordinary Logger levels are the only volume control, which is
fine at small fleet sizes and will not be at large ones.