log rotation of trac logs
Erik Huelsmann <[email protected]>
| Newsgroups | gmane.lisp.common-lisp-net.devel |
|---|---|
| Message-ID | <CACOoB6iA+8DyxSRcbB-Sq9yne6f3hMAzjs8ZHe91OmZKcuCN2w@mail.gmail.com> |
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. Bye, Erik.