docs: update aa-log help message.

This commit is contained in:
Alexandre Pujol 2023-03-07 18:30:57 +00:00
parent 5e77974546
commit 862cc7aaaa
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC

View file

@ -108,13 +108,18 @@ DENIED dnsmasq open /proc/cmdline comm=dnsmasq requested_mask=r denied_mask=r
### Help ### Help
``` ```
aa-log [-h] [-s] [-f file] [profile] aa-log [-h] [--systemd] [--file file] [profile]
Review AppArmor generated messages in a colorful way. Supports logs from
auditd, systemd, syslog as well as dbus session events.
Review AppArmor generated messages in a colorful way.
It can be given an optional profile name to filter the output with. It can be given an optional profile name to filter the output with.
-f file Default logs are read from '/var/log/audit/audit.log'. Other files in
Set a logfile or a suffix to the default log file. (default "/var/log/audit/audit.log") '/var/log/audit/' can easily be checked: 'aa-log -f 1' parses 'audit.log.1'
-h Show this help message and exit.
-s Parse systemd dbus logs. Options:
-h, --help Show this help message and exit.
-f, --file FILE Set a logfile or a suffix to the default log file.
-s, --systemd Parse systemd logs from journalctl.
``` ```