[sudo-blog] When it comes to sudo logging, pretty is not always better

Todd C. Miller Todd.Miller at sudo.ws
Tue Apr 16 20:12:50 MDT 2024


Version 1.9.16 of sudo will introduce a new logging option:
json_compact. This does not affect logging to syslog, only logging
to files. Previously, sudo created human-readable JSON log files.
With this new setting enabled, logs are no longer pretty but can
be easily read by logging software.

As I am writing this blog, version 1.9.16 is not yet released, not
even a beta. For now, if you want to test this feature, you will
have to compile sudo yourself from source. Once 1.9.16 is released,
it will be available here on the sudo website as ready to install
package for major Linux and UNIX variants. And eventually it will
officially become available in various operating systems.

Read the full blog post at
https://www.sudo.ws/posts/2024/04/when-it-comes-to-sudo-logging-pretty-is-not-always-better/


More information about the sudo-blog mailing list