santa icon indicating copy to clipboard operation
santa copied to clipboard

Santa should have a way to limit what's logged in santa.log

Open pmarkowsky opened this issue 1 week ago • 1 comments

It would be nice to have a filter that allows you to decide which events are / are not logged into the logs in /var/db/santa/.

I propose but am not wedded to the following:

  • Assign each event a number
  • Create a bitmask where all ones means all events
  • Check the bitmask and only log the events that are enabled in the bitmask.
  • Create a new option in the config LogFilter that by default logs all events.
  • Create a string mapping of fields to be set in the option similar to the USB options.

pmarkowsky avatar Jun 27 '24 15:06 pmarkowsky