My /var/lib/csf/csf.logtemp is quite large on both servers where I have csf installed. By quite large I mean about 500 MBs. Is that normal? Can it be cleared? If so, what is the best way to clear it if something other than deleting it and restarting csf?
I did trying restarting csf and lfd but it didn't clear the log.
FYI, the log contains entries that are months old at the beginning.
Thanks
/var/lib/csf/csf.logtemp
-
- Moderator
- Posts: 1524
- Joined: 01 Oct 2008, 09:24
Re: /var/lib/csf/csf.logtemp
Simply delete the file. It's is used by the LOGSCANNER option which should be clearing down the file based on the setting for LOGSCANNER_INTERVAL, unless that is set to "manual" and you aren't running a job to process the file (csf -lr).
Re: /var/lib/csf/csf.logtemp
Thank you.
Both installations are set to...
LOGSCANNER=1
LOGSCANNER_INTERVAL=daily
...so I am unsure why it isn't clearing them.
I re-saved the config file without making any changes just in case.
I'll check in a couple of days to see if it clears automatically.
Both installations are set to...
LOGSCANNER=1
LOGSCANNER_INTERVAL=daily
...so I am unsure why it isn't clearing them.
I re-saved the config file without making any changes just in case.
I'll check in a couple of days to see if it clears automatically.
-
- Moderator
- Posts: 1524
- Joined: 01 Oct 2008, 09:24
Re: /var/lib/csf/csf.logtemp
Have you been receiving the LOGSCANNER email on a daily basis? I would guess not.
Re: /var/lib/csf/csf.logtemp
You are correct, I have not been receiving them. They are so large it is almost not useful. Maybe I should just set LOGSCANNER=0?