f_malekpour

Registered
Sep 2, 2002
2
0
151
Hi All,
I have a problem on webilizer updates, everything work fine but end of each month when cpanel rotate the logs, webalizer shows only a few stat on that month. I mean it delete all stats of before. Anyway, Is there a way to rotate the logs on first day of each month? If so how?

Thanks
 

kensmith

Member
Dec 13, 2002
18
0
151
On a similar note, I'm hoping someone with some experience with Cpanel/WHM would take a few minutes to describe how the whole log rotating / analysis scenario works.

Here's what I've determined so far.

cpanellogd is a daemon that runs all the time, and about once a day it processes each of the log files under /home/domlogs.
On my server, it does that at about 5:30 PM, which is one of the heaviest usage times on my server. I'd love to be able to reschedule that for 3 AM or so.

Then, what happens at the end of the month? Do the logs get rotated, deleted, or what? I don't see anything about httpd in /etc/rotate.d

And, how does the log rotation interact with Webalizer as the initial poster was describing?

If I'd like to rotate my logs more frequently than once a month, can I write a script myself to do that, and how would I make it get along with the normal Cpanel processing?
 

Radio_Head

Well-Known Member
Verifed Vendor
Feb 15, 2002
2,048
1
343
Domlogs

Is it possible to rotate domlogs every week instead of every month (/usr/local/apache/domlogs) ?

In this case webanalizer will continue to show monthly stats ?
 

myusername

Well-Known Member
PartnerNOC
Mar 6, 2003
693
1
168
chown -R us.*yourbase*
cPanel Access Level
DataCenter Provider
Twitter
Because it is still a problem, after 2 years. If you had any clients facing the same issue you would do everything you could to find a good answer. Or maybe you would not. Maybe you just spend time trolling the forums and posting idiotic replies.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
Well, I think you should do a search on my member account if you really think I'm trolling.

1. Lighten up :rolleyes:

2. It's somewhat pointless subscribing to a thread that is 2 years old where the participants have long left it

3. You cross-posted your problem to at least 3 threads - that's just bad manners

4. There's no need to get personally abusive
 
Last edited:

sawbuck

Well-Known Member
Jan 18, 2004
1,365
10
168
cPanel Access Level
Root Administrator
Have to agree with Chirpy on this one. Bad manners and personal attacks are much more suited to WHT. Maybe, just maybe, when you have over 1K posts of freely donated time, you will start to understand what it means to be respected by other forum members. In the meantime I'm not going to hold my breath.
 

myusername

Well-Known Member
PartnerNOC
Mar 6, 2003
693
1
168
chown -R us.*yourbase*
cPanel Access Level
DataCenter Provider
Twitter
Hey, it was a simple subscribing to thread post that does not deserve a barage of "why are you subscribing" Who cares why I am subscribing. keep it to yourself. Obviosly I am subscribing because it is a problem.

Yes I subscribed to multiple threads on the topic in hopes one of the previous posters in one of the threads were not paying atention to the boards and had an answer.

Subscribing to a two year old thread bumps its position in the boards, how is that useless?

And yes, when it works I will post a fix for someone else who finds themselves in the same situation, likely in all threads regarding the topic. It is not rude, it is community support.

Rude, is snide remarks like the original reply I received when all I said was "subscribing"

WHO CARES!?! If you don't have an answer, suggestion, or anything of value other than "well, why are you doing that, uh.....duh" then don't even bother.

It is a waste of database space, sort of like this post where I have to defend myself now not from one but two people who are not contributing a single item of value.

Chirpy I know you are a good guy and you have many good posts in here, so sorry if you were upset by my reply. Just please be a contributor instead of questioning ones motives when they are seeking support.
 

sawbuck

Well-Known Member
Jan 18, 2004
1,365
10
168
cPanel Access Level
Root Administrator
myusername said:
It is a waste of database space, sort of like this post where I have to defend myself now not from one but two people who are not contributing a single item of value.
Making these types of statements is why you get grief.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
Ah well, here's a little tip for the hard of learning - Top of a thread > Thread Tools > Subscribe to thread! Wow! You can subscribe to a thread without having to bother the rest of us by resurrecting a dead thread!

Edited:

I'm going to follow my own instructions and Top of a thread > Thread Tools > Unsubscribe from thread :p
 
Last edited:

PWSowner

Well-Known Member
Nov 10, 2001
2,901
4
343
ON, Canada
I don't usually step in on things like this, but it'll help with my post count. ;) j/k

I think this is one example of a useless argument not thought out by anyone. It all started because myusername subscribed to the thread and posted a message saying so. Now, as Chirpy said, it's not necessary to tell others when subscribing, but...

if a thread is about something that someone is interested in, it's not wrong to bump the thread to bring it back to life. Maybe that's the only reason for the reply, to bring it back up.

Yes, the thread is old, but...

how often do we see people post a question that's already been asked, and one of us oldies here says to do a search. Myusername found a thread of interest and instead of posting a new thread, revived this one.

What do we want? Do we want new threads started, or old ones brought back? Some members here have complained both ways.

Some of you may say "myusername subscribed to and revived a few threads". So, he/she is fairly new here and took time to search the threads. Is that a problem?

Myusername's reply to Chirpy wasn't the best, but most people would retaliate under that condition.

How about agreeing that the war is over? I'm not trying to start a new one either. :)