feat(audit): change audit log format from plain to json
Summary
- feat(audit): change audit log format from plain to json
This patch changes the way audit records are formatted. Previously we would format them as plain strings (we still do that in tlog), now we use json to store all KV pairs including the message.
Corresponding MR in tarantool-sys picodata/tarantool!137
Follow-up for !706 (merged)
Part of #349 (closed)
Ensure that
-
New code is covered by tests (still tbd later) -
API is documented -
Changelog is up to date -
(if Lua API changed) Lua API version is bumped inluamod.rs
-
(if necessary) A follow-up doc issue is created in picodata/docs and linked here
Edited by Yaroslav Dynnikov