LFD Logging Configuration

Post Reply
mistaneat
Junior Member
Posts: 6
Joined: 08 Dec 2008, 22:33

LFD Logging Configuration

Post by mistaneat »

I would like to see the ability to control how long logs are kept for LFD in /var/log/lfd_log and /var/log/lfd_log.*.gz . Currently it appears that LFD will only use 1 archived log file (lfd_log.1.gz) and this does not store enough log data for my purposes. I would love to be able to configure CSF to use multiple archived files or to be able to specify the number of days (or maybe weeks) that log files are kept. Any feature to increase the amount of logs that are stored by LFD would be greatly appreciated.
chirpy
Moderator
Posts: 3537
Joined: 09 Dec 2006, 18:13

Post by chirpy »

You can do that using the standard features of logrotate and the config file /etc/logrotate.d/lfd
mistaneat
Junior Member
Posts: 6
Joined: 08 Dec 2008, 22:33

Post by mistaneat »

Thank you.
Post Reply