Re: log rotation of trac logs
Raymond Toy <[email protected]>
| Newsgroups | gmane.lisp.common-lisp-net.devel |
|---|---|
| Message-ID | <[email protected]> |
On 1/7/12 11:44 AM, Erik Huelsmann wrote: > As Raymond Toy already pointed out earlier, we had lots of huge logs > of Trac laying around in our file systems. Today, I set up logrotation > for trac.log in all projects. The total size of the files was > instantly reduced from >800MB to < 44MB! > > It doesn't seem useful to me to retain the logs longer than 4 months, > so I set up weekly rotation with 17 weeks of history. > Thanks for putting the log rotation in place. I think my projects were the worst offenders, but I deleted most of the huge logs before you implemented the rotation and compression. Can't remember exactly how much, but df went from something like 65% usage to 62% after I deleted them. :-) Ray