registrar

Files related to my duties as Registrar of Agora Nomic
git clone git://juanmeleiro.mat.br/registrar
Log | Files | Refs | README

commit d0979627de58995048e63261ceabd44f5104070c
parent 419a746ecddbe78fd5028cca9fa250825ac40fb8
Author: Juan F. Meleiro <juan@juanmeleiro.mat.br>
Date:   Mon,  9 Oct 2023 17:31:07 -0300

ticket: Log custom format

Diffstat:
Atickets/todo/log-custom-format.txt | 19+++++++++++++++++++
1 file changed, 19 insertions(+), 0 deletions(-)

diff --git a/tickets/todo/log-custom-format.txt b/tickets/todo/log-custom-format.txt @@ -0,0 +1,19 @@ +# Custom format for the log + +Design and implement a custom format for the log. Maybe something +like this: + +``` +<timestamp> <action> <arguments> +``` + +For example: + +``` +1696883312 register Some Player email@example.com message://some-long-uuid.message +``` + +Note the use of tabs. This would avoid the problem where the Lua library +that deals with JSON just scrambles it up each and every time. That, and +it also avoids adding new dependencies (e.g., `jq` for pretty-printing +and sorting the JSON files).