electron33

Well-Known Member
Feb 24, 2004
90
0
166
Hi,

Does cPanel rotate/recycle /usr/local/apache/domlogs ?

or, do I have to do it myself?

Thanks
 

AlexF

Well-Known Member
Nov 20, 2003
148
0
166
cPanel will handle that for you if you set it under WHM>Tweak Settings (look for Delete each domain's access logs after stats run). ;)
 

electron33

Well-Known Member
Feb 24, 2004
90
0
166
Thanks AlexF,

What I don't know now is the intervals at which this is done. I use Urchin, and it uses domlogs files. Is there any settings/scheduling for this.

I looked in the documentation and all it says is "After web statistics are calculated for a domain name delete the access logs for that domain"

When are stats calculated?

Cheers
 

AlexF

Well-Known Member
Nov 20, 2003
148
0
166
The only time I used Urchin is when I had a VPS (many years ago). Check to see your if your Urchin config file has a setting on that or perhaps a cron job for urchin.

Sorry I could not be of more help on this issue.
 

myusername

Well-Known Member
PartnerNOC
Mar 6, 2003
693
1
168
chown -R us.*yourbase*
cPanel Access Level
DataCenter Provider
Twitter
electron33,

You and Iseem to be looking for the same thing here.

So far as I can tell they are part of /scripts/upcp

Let me know if you believe this to be incorrect.

It sounds like you are trying to rotate them instead of delete them after they run which is what I am trying to do. i have them rotating now, but not right after stats runs so there is some latency in the stats programs.

Let us know if you find anything.
 

[email protected]

Well-Known Member
Mar 5, 2002
487
0
316
Los Angeles California
Thank you!

I didn't even realize a couple of my power users on my server are generating more than 3 GBs of domlogs. HOpe enabling that feature will helpa little bit.

AlexF said:
cPanel will handle that for you if you set it under WHM>Tweak Settings (look for Delete each domain's access logs after stats run). ;)