mirror of
https://github.com/sudo-project/sudo.git
synced 2025-09-05 00:35:14 +00:00
Remove EVLOG_JSON, callers must use EVLOG_JSON_COMPACT or EVLOG_JSON_PRETTY
This commit is contained in:
@@ -1561,13 +1561,12 @@ sudoers_set_log_format(enum def_tuple tuple)
|
||||
enum eventlog_format format;
|
||||
debug_decl(cb_log_format, SUDOERS_DEBUG_PLUGIN);
|
||||
|
||||
/* FFR - make "json" an alias for EVLOG_JSON_COMPACT instead. */
|
||||
switch (tuple) {
|
||||
case json:
|
||||
format = EVLOG_JSON;
|
||||
break;
|
||||
case json_compact:
|
||||
format = EVLOG_JSON_COMPACT;
|
||||
break;
|
||||
case json:
|
||||
case json_pretty:
|
||||
format = EVLOG_JSON_PRETTY;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user