Page 1 of 1

/var/lib/csf/csf.logtemp

Posted: 19 May 2014, 17:36
by sparkling
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

Re: /var/lib/csf/csf.logtemp

Posted: 19 May 2014, 17:49
by ForumAdmin
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

Posted: 19 May 2014, 17:53
by sparkling
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.

Re: /var/lib/csf/csf.logtemp

Posted: 19 May 2014, 18:17
by ForumAdmin
Have you been receiving the LOGSCANNER email on a daily basis? I would guess not.

Re: /var/lib/csf/csf.logtemp

Posted: 19 May 2014, 18:24
by sparkling
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?