-
Notifications
You must be signed in to change notification settings - Fork 151
Open
Description
Your software write logs to journalctl anyway, so it doesn't make sense to make another file.
Because of this (and others who're already disabled logs like below) I suggest adding none as AuditBackend option:
#
# USBGuard Audit events log backend
#
# One of:
#
# * FileAudit - Log audit events into a file specified by
# AuditFilePath setting (see below)
# * LinuxAudit - Log audit events using the Linux Audit
# subsystem (using audit_log_user_message)
#
AuditBackend=FileAudit
#
# USBGuard audit events log file path.
#
AuditFilePath=/dev/null
Is equivalent to:
#
# USBGuard Audit events log backend
#
# One of:
#
# * FileAudit - Log audit events into a file specified by
# AuditFilePath setting (see below)
# * LinuxAudit - Log audit events using the Linux Audit
# subsystem (using audit_log_user_message)
# * None - Does not create a file. Logs will be written to journal anyway.
#
AuditBackend=None
#
# USBGuard audit events log file path.
#
AuditFilePath=/var/log/usbguard/audit.log <------------ this won't be used at all
+ # HACK: that way audit logs still land in the journal
+ AuditFilePath=/dev/null
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels