Add support for JSON structured logging using syslog.
Note that depending on the system, the default syslog buffer may not be large enough to store all the logging data.
This commit is contained in:
@@ -419,7 +419,7 @@ sudo_json_add_value_as_object_v1(struct json_container *json, const char *name,
|
||||
return sudo_json_add_value_int(json, name, value, true);
|
||||
}
|
||||
|
||||
const char *
|
||||
char *
|
||||
sudo_json_get_buf_v1(struct json_container *json)
|
||||
{
|
||||
return json->buf;
|
||||
|
Reference in New Issue
Block a user