Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

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

@pmarkowsky

Description

@pmarkowsky

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions