[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Does Weblaizer Erase Logs when running reports?
- Subject: [cobalt-users] Does Weblaizer Erase Logs when running reports?
- From: Nick Ciantro <nick@xxxxxxxxxxxx>
- Date: Wed Jul 24 11:26:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Hello all,
i recently got webalizer installed on my raq 4r. I do a lot of web
marketing, so I like to download logs manually and run a report on it with
WebTrends Log analyzer software. However, I installed webalizer for some
hosting clients who wanted web based statistics.
I recently wen to one of the sites that I am marketing to download the log
file and noticed it is at 0k. Was a bit confused, and am wondering if it
has anything to do with webalizer. I dont think it does, since other sites
seem to have log files which are ok.
Any suggestions?
I'm thinking, and please correct me if I'm wrong, that it could have to do
with the 10% of disk quote, since this particular virtual site only has a
disk quota of 25MB and gets a pretty good amount of traffic now that our
marketing has kicked in. So if this is the case what should I do? I
already increased the disk quota for that site to 200MB, but I'm wondering
if there is some way I can tell logrotate to rotate the log files once a
month, and store previous months in a specific folder. However, I would
only want to do this for 5 or 6 virtual sites, not all the sites on my
server.
Is it enough to simply edit the file /etc/logrotate.d/site55 for each
individual site? If so, how do I format it, here is a sample of one of the
files for one of the sites:
/home/sites/site55/logs/mail.log {
missingok
compress
size 20M
}
/home/sites/site55/logs/ftp.log {
missingok
compress
size 20M
}
/home/sites/site55/logs/web.log {
missingok
compress
size 20M
}
Also, just out of curiosity, under the default logrotate system, where does
it store the logs once rotation is complete?
Sorry for the lengthy question and I appreciate all your help! Thanks!
Nick