On Wed, 2004-03-10 at 10:55, Al Black wrote:
> >
> >I use logrotate at my sites to rotate my logs monthly. It's simple to
> >setup and it's already running on most systems. I generally keep 4
> >months worth of back logs.
> 
> Thanks, actually, I'm using savelogs, and keeping a couple of months worth 
> of data.  So far so good.
> 
> In any case I'm curious about something.  You use: mailmanctl reopen.  In 
> the script that I wrote, I stop mailman, run rotation scheme, and then 
> start and reopen mailmanctl, because I was concerned about clobbering some 
> ongoing process.
> 
> Was this an unnecessary concern?
> 
> al

Your method should work fine. Stopping and starting Mailman shouldn't
hurt anything. I just use "reopen" because it was specifically added to
Mailmanctl to handle this situation:

    reopen  - This will close all log files, causing them 
              to be re-opened the next time a message is
              written to them

Jon


------------------------------------------------------
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
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

Reply via email to