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 <[EMAIL PROTECTED]> on that topic: >X-Sieve: cmu-sieve 1.3 >To: Mark Moshe Kaye <[EMAIL PROTECTED]> >Cc: [EMAIL PROTECTED] >Subject: Re: [Mailman-Users] size of log files >X-face: >?<YUs-cNP1\Oc-H>^_yw@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 <[EMAIL PROTECTED]> >X-Spam-Status: No, hits=-5.0 required=5.0 tests=IN_REP_TO version=2.11 >Sender: [EMAIL PROTECTED] >X-BeenThere: [EMAIL PROTECTED] >X-Mailman-Version: 2.0.10 (101270) >List-Help: <mailto:[EMAIL PROTECTED]?subject=help> >List-Post: <mailto:[EMAIL PROTECTED]> >List-Subscribe: <http://mail.python.org/mailman/listinfo/mailman-users>, > <mailto:[EMAIL PROTECTED]?subject=subscribe> >List-Id: Mailman mailing list management users <mailman-users.python.org> >List-Unsubscribe: <http://mail.python.org/mailman/listinfo/mailman-users>, > <mailto:[EMAIL PROTECTED]?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 <[EMAIL PROTECTED]> 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. >[EMAIL PROTECTED] He lived as a devil, eh? >http://www.kanga.nu/~claw/ Evil is a name of a foeman, as I live. ------------------------------------------------------ Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py