From e8fbe461f0df74bc6f9421314f1635d1df5fb8ee Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Mon, 23 May 2022 12:56:06 +0200 Subject: [PATCH] Document JSON logging changes of today [skip ci] --- doc/RELEASE-NOTES.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/RELEASE-NOTES.md b/doc/RELEASE-NOTES.md index 103acbbfa..766ee80b6 100644 --- a/doc/RELEASE-NOTES.md +++ b/doc/RELEASE-NOTES.md @@ -58,6 +58,19 @@ Enhancements: type { blacklist; connect-flood; handshake-data-flood; } } ``` +* For [JSON logging](https://www.unrealircd.org/docs/JSON_logging) a number + of fields were added when a client is expanded: + * `geoip`: with subitem `country_code` (eg. `NL`) + * `tls`: with subitems `cipher` and `certfp` + * Under subitem `users`: + * `vhost`: if the visible host differs from the realhost then this is + set (thus for both vhost and cloaked host) + * `cloakedhost`: this is always set (except for eg. services users), even + if the user is not cloaked so you can easily search on a cloaked host. + * `idle_since`: abc + * `channels`: list of channels (array), with a maximum of 384 chars. +* The JSON logging now also strips ASCII below 32, so color- and + control codes. Fixes: *