lkrg-org / lkrg

Linux Kernel Runtime Guard
https://lkrg.org
Other
403 stars 72 forks source link

Logger: Support log rotation #320

Open solardiz opened 4 months ago

solardiz commented 4 months ago

Nov 23, 2022

To support external log rotation tools, need to reopen the log files upon receipt of SIGHUP.

Alternatively or additionally, we could also have our own log rotation capability (e.g., something the logging daemon would perform on its own upon reaching a threshold or due time, or an option to the lkrg-logctl tool).