[Mailman-Users] Logs question

Richard Barrett R.Barrett at ftel.co.uk
Mon Jun 24 19:27:20 CEST 2002


At 10:51 24/06/2002 -0500, Valerie wrote:

>Can the log files generated by Mailman be cleaned out/deleted without
>hurting anything?  If the answer is yes, if I delete them - will they
>recreate themselves or should I just remove the contents of them?
>
>Just wanted to check before I broke something!
>
>Thanks
>Valerie

Sounds like you might want to consider rotating you logs regularly and 
automatically. Attached is an earlier post to this list by J C Lawrence 
<claw at kanga.nu> on that topic:

>X-Sieve: cmu-sieve 1.3
>To: Mark Moshe Kaye <jotd2k at yahoo.com>
>Cc: Mailman-Users at python.org
>Subject: Re: [Mailman-Users] size of log files
>X-face: 
>?<YUs-cNP1\Oc-H>^_yw at fA`CEX&}--=*&XqXbF-oePvxaT4(kyt\nwM9]{]N!>b^K}-Mb9
>  YH%saz^>nq5usBlD"s{(.h'_w|U^3ldUq7wVZz$`u>MB(-4$f\a6Eu8.e=Pf\
>X-image-url: http://www.kanga.nu/~claw/kanga.face.tiff
>X-url: http://www.kanga.nu/~claw/
>From: J C Lawrence <claw at kanga.nu>
>X-Spam-Status: No, hits=-5.0 required=5.0 tests=IN_REP_TO version=2.11
>Sender: mailman-users-admin at python.org
>X-BeenThere: mailman-users at python.org
>X-Mailman-Version: 2.0.10 (101270)
>List-Help: <mailto:mailman-users-request at python.org?subject=help>
>List-Post: <mailto:mailman-users at python.org>
>List-Subscribe: <http://mail.python.org/mailman/listinfo/mailman-users>,
>         <mailto:mailman-users-request at python.org?subject=subscribe>
>List-Id: Mailman mailing list management users <mailman-users.python.org>
>List-Unsubscribe: <http://mail.python.org/mailman/listinfo/mailman-users>,
>         <mailto:mailman-users-request at python.org?subject=unsubscribe>
>List-Archive: <http://mail.python.org/pipermail/mailman-users/>
>Date: Tue, 23 Apr 2002 12:15:20 -0700
>
>On Tue, 23 Apr 2002 12:04:32 -0700 (PDT)
>Mark Moshe Kaye <jotd2k at yahoo.com> wrote:
>
> > What is the best way to deal with log files that have become large,
> > the bounce file in particular is huge.
>
>logrotate package.
>
> > If I rename it will mailman notice it is missing and recreate
> > automatically or do I need to create an empty file.
>
>It will recreate.
>
> > Some advise would be appreciated on best practices for keeping these
> > file sizes under control.
>
>The logrotate conf I use:
>
>/var/log/mailman/bounce {
>         weekly
>         missingok
>         create 0664 list list
>         rotate 4
>         compress
>         delaycompress
>}
>
>/var/log/mailman/digest {
>         monthly
>         missingok
>         create 0664 list list
>         rotate 4
>         compress
>         delaycompress
>}
>
>/var/log/mailman/error {
>         weekly
>         missingok
>         create 0664 list list
>         rotate 4
>         compress
>         delaycompress
>}
>
>/var/log/mailman/post {
>         monthly
>         missingok
>         create 0664 list list
>         rotate 12
>         compress
>         delaycompress
>}
>
>/var/log/mailman/smtp-failure {
>         daily
>         missingok
>         create 0664 list list
>         rotate 7
>         compress
>         delaycompress
>}
>
>/var/log/mailman/smtp {
>         daily
>         missingok
>         create 0664 list list
>         rotate 7
>         compress
>         delaycompress
>}
>
>/var/log/mailman/locks {
>         daily
>         missingok
>         create 0664 list list
>         rotate 7
>         compress
>         delaycompress
>}
>
>/var/log/mailman/fromusenet {
>         daily
>         missingok
>         create 0664 list list
>         rotate 7
>         compress
>         delaycompress
>}
>
>/var/log/mailman/qrunner {
>         daily
>         missingok
>         create 0664 list list
>         rotate 7
>         compress
>         delaycompress
>}
>
>/var/log/mailman/subscribe {
>         monthly
>         missingok
>         create 0664 list list
>         rotate 12
>         compress
>         delaycompress
>}
>
>/var/log/mailman/vette {
>         weekly
>         create 0664 list list
>         rotate 4
>         compress
>         delaycompress
>}
>
>
>--
>J C Lawrence
>---------(*)                Satan, oscillate my metallic sonatas.
>claw at kanga.nu               He lived as a devil, eh?
>http://www.kanga.nu/~claw/  Evil is a name of a foeman, as I live.






More information about the Mailman-Users mailing list