2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

Add json_compact log type for compact/minified JSON.

The "json_compact" log type logs one event per line in compact/minified
JSON format.  GitHub issue #357.
This commit is contained in:
Todd C. Miller
2024-03-08 16:31:39 -07:00
parent b3ade1c5f9
commit 1debad3bec
12 changed files with 180 additions and 46 deletions

View File

@@ -41,6 +41,7 @@ static struct def_values def_data_timestamp_type[] = {
static struct def_values def_data_log_format[] = {
{ "sudo", sudo },
{ "json", json },
{ "json_compact", json_compact },
{ NULL, 0 },
};