This shows you the differences between two versions of the page.
Next revision | |||
— | fuss:apparmor [2018/06/18 22:56] – created office | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Sending Messages to File ====== | ||
+ | |||
+ | Add an '' | ||
+ | < | ||
+ | # Log kernel generated apparmor log messages to file | ||
+ | : | ||
+ | |||
+ | # Uncomment the following to stop logging anything that matches the last rule. | ||
+ | # Doing this will stop logging kernel generated apparmor log messages to the file | ||
+ | # normally containing kern.* messages (eg, / | ||
+ | & ~ | ||
+ | </ | ||
+ | |||
+ | and then restart '' | ||
+ | |||
+ | Next, create a file at ''/ | ||
+ | < | ||
+ | / | ||
+ | rotate 4 | ||
+ | weekly | ||
+ | compress | ||
+ | missingok | ||
+ | } | ||
+ | |||
+ | </ | ||
+ | |||
+ | in order to make sure that ''/ | ||
+ | |||