trailofbits / sinter

A user-mode application authorization system for MacOS written in Swift
https://blog.trailofbits.com/2020/08/12/sinter-new-user-mode-security-enforcement-for-macos/
GNU Affero General Public License v3.0
301 stars 15 forks source link

Add (local system) structured logging #10

Closed mike-myers-tob closed 4 years ago

mike-myers-tob commented 4 years ago

Filebeat (the log forwarder) is already present and can forward logs off of the endpoint. So the first iteration of agent logging should be to write to the local filesystem or system log. Remote logging will be a separate issue for later.

A "verbose" logging mode should be present, and on by default in the early testing versions.

mike-myers-tob commented 4 years ago

Refactoring the logger removed the structured logging in favor of a less structured but more verbose logging. Restore the original behavior.

mike-myers-tob commented 4 years ago

Restored in PR #62