[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: NEVER remove log files without asking



On Tue, Aug 17, 2004 at 11:36:42PM +1000, Hamish Moffatt wrote:
> On Tue, Aug 17, 2004 at 07:35:35PM +0900, Mike Hommey wrote:
> > On Tue, Aug 17, 2004 at 05:30:30PM +1000, Matthew Palmer wrote:
> > > That's like saying "the sun rises because it's round".  /tmp gets cleaned
> > > because there's a policy that says "/tmp gets cleaned".  Similarly, there's
> > > a policy that says "logs get removed".  It's probably not completely clear,
> > > and could do with a clarification, about whether that only includes logs
> > > generated as part of a default installation, or whether it should be all
> > > logs that might have been created by the package during it's lifetime.
> > 
> > Question: apache logs rotated by logrotate using the config installed by
> > apache do belong to which ?
> 
> And if purge should remove all logs created by the package, does that mean 
> the prerm/postrm should parse your apache configuration and find all your 
> logs that are located outside of /var/log/apache? If not, why not?

I think it should.

- Matt

Attachment: signature.asc
Description: Digital signature


Reply to: