Set an AppArmor policy to complain mode. See also:
aa-disable,aa-enforce,aa-status. More information: https://gitlab.com/apparmor/apparmor/-/wikis/manpage_aa-complain.8.
sudo aa-complain path/to/profile1 path/to/profile2 ...
sudo aa-complain --dir path/to/profiles