[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] How to keep the logs out of the Virtual site q uota usage
- Subject: RE: [cobalt-users] How to keep the logs out of the Virtual site q uota usage
- From: "Jolley, Carl" <Carl.Jolley@xxxxxxx>
- Date: Thu Aug 8 20:07:02 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
-----Original Message-----
From: Tarun Dua
To: cobalt-users@xxxxxxxxxxxxxxx
Sent: 8/8/02 9:38 PM
Subject: [cobalt-users] How to keep the logs out of the Virtual site quota
usage
How can we ensure that the logs are not counted in the Virtual site disk
quota for some of our Virtual Sites while retaining the
same setting for others.
Any pointers in the right direction ...
The idea is not penalize our customers to whom we haven't promised the
logs
but we neverthless require them for our own use.
Editing the httpd.conf for each virtual site is not feasible as there
are
several hundred virtual sites of them.
--------------
Create a cron entry, perhaps another file in the /etc/cron.daily
directory that will run after the log rotate run. Move the
log files for the virtual web sites to some place else, e.g.
/home/virtlogs or alternatively make the logs directory for
each virtual site into a symbolic link to someplace else
and then you won't have to create another cron job entry,
the standard stuff for creating the logs will continue to
work and there will be no space in the virtual site's directory
to count against the quota.