/var/lib/csf/csf.logtemp

Post Reply
sparkling
Junior Member
Posts: 26
Joined: 09 Aug 2008, 17:07

/var/lib/csf/csf.logtemp

Post 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
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

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

Post 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).
sparkling
Junior Member
Posts: 26
Joined: 09 Aug 2008, 17:07

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

Post 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.
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

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

Post by ForumAdmin »

Have you been receiving the LOGSCANNER email on a daily basis? I would guess not.
sparkling
Junior Member
Posts: 26
Joined: 09 Aug 2008, 17:07

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

Post 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?
Post Reply