Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: RWilson on November 01, 2005, 03:17:22 PM

Title: Log Files are too big.
Post by: RWilson on November 01, 2005, 03:17:22 PM
How do I reduce the max size of the log files? I believe they are set to grow to 5meg. how to I change this to 2 meg.

I talk to a few servers down slow links and 5meg is way too big for a log file here.
Title: Re: Log Files are too big.
Post by: CharlieBrady on November 01, 2005, 05:12:56 PM
Quote from: "RWilson"
How do I reduce the max size of the log files? I believe they are set to grow to 5meg. how to I change this to 2 meg.


Edit /service/blah/log/run then do:

svc -t /service/blah/log

for each service "blah" you care about.

This doesn't affect /var/log/messages or /var/log/httpd/* - those are rotated by time not by size.