[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 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?

Hamish
-- 
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>



Reply to: