DebugServ: stream live services activity to the log channel
A pseudo-client that joins the staff log channel and reports what the services layer is doing in real time: authentication (IDENTIFY and every SASL mechanism, success and failure, with nick/host/account/reason), sessions (forced logout), and the account/channel/operator lifecycle — the committed-event audit now speaks through it, falling back to a server notice when it is off. The reporting lives in the engine (feed()/who() helpers plus hooks at complete_authenticate / sasl_login / sasl_deny); the module itself is just the bot's identity and a STATUS/HELP surface. On by default; the feed is gated on the configured [log] channel.
This commit is contained in:
parent
7e838cee49
commit
bad17a184e
9 changed files with 228 additions and 17 deletions
|
|
@ -18,6 +18,7 @@ members = [
|
|||
"modules/groupserv",
|
||||
"modules/chanfix",
|
||||
"modules/helpserv",
|
||||
"modules/debugserv",
|
||||
]
|
||||
|
||||
[package]
|
||||
|
|
@ -44,6 +45,7 @@ echo-reportserv = { path = "modules/reportserv" }
|
|||
echo-groupserv = { path = "modules/groupserv" }
|
||||
echo-chanfix = { path = "modules/chanfix" }
|
||||
echo-helpserv = { path = "modules/helpserv" }
|
||||
echo-debugserv = { path = "modules/debugserv" }
|
||||
tokio = { version = "1", features = ["net", "io-util", "rt-multi-thread", "macros", "time", "sync", "process", "signal"] }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue