[Eug-lug] Limit size of log files?

Mark Turner amerine at gmail.com
Wed Jan 31 14:42:43 PST 2007


On 1/31/07, Matthew Jarvis <mattj at bikefriday.com> wrote:
> Thanks Mark...
>
> I made some changes to see what compress will do for me, plus trimmed
> down the # of logs from 4 to 2 - I'll see what happens...
>
> Do I have to do anything else to tell it to use this updated conf file,
> or will it see the changes already?

Well, you need to force logrotate to run more often the the default
daily you see in most *nix's. I have a cron entry that runs logrotate
-f to force logrotate to run hourly.

-Mark


More information about the EUGLUG mailing list