Web Hosting Talk







View Full Version : Log file size


daretosucced
11-03-2001, 03:40 PM
Hi friends,

I download log files and analyze them through various softwares offline.
Problem is...the size has now reached huge levels...!!!!
How can I download just daily incremental logs..rather than downloading the entire data daily ???

I hope you understand what I'm trying to say.
I just don't wanna download the same thing over and over agin..but just the new data..that will help save my time and bandwidth.
Any way to split log file based on time or something ?
Thanks in advance !!!

teck
11-03-2001, 03:53 PM
You may want to rotate the logs every day or so. That may help you but it's easier to just analyze the logs once a month instead of every day. Search the web for "log rotate" and you may find some cool stuff.

daretosucced
11-03-2001, 04:03 PM
I just wanna make another file daily..rather than deleting it.
And hey...I check traffic stats almost 2-4 times a day.
I'm soon gonna hire a person...who just study the stats and trigger proper marketing.

Just need to have different small files rather than 1 huge file to download.

daretosucced
11-03-2001, 07:21 PM
I guess WHT is cooling down :cool:
or itz just me :cartman:

Guyz ..do I always need to yell :help:

ok.HELLPPPPPPPPPP

experts where r u ?

Chicken
11-03-2001, 08:09 PM
Well, the individual site logs are split and rotated, otherwise if you could probably set up a script to do something with the main access log (the one I'm presuming you are downloading). I'm not sure what you want though, as the server already splits and rotates site logs.

:confused:

daretosucced
11-04-2001, 08:55 AM
I mean does it alwyas split the log file based on daily use ?
I just want to download daily or even half day traft stats..rather than downloading huge 1 log files.

Please help.

Chicken
11-04-2001, 10:52 AM
I believe (default) it rotates based on two conditions:

1) Time of day or...
2) Size (if it reaches 2 MB)

There are lines in httpd.conf as to the rules of this and you could add that when the logs split, they are also copied somewhere (hmmm, guess that would be pointless), ummm... overall, they are split and rotated on an individual site basis, and I'm sure these would be more useful?

daretosucced
11-04-2001, 12:19 PM
I guess I will just study httpd.conf in details..That should be enough.
Thanks

daretosucced
11-05-2001, 05:39 AM
I know that it can be done by customlog and transfer log directive.
But I don't know where should I enter these directives in httpd.conf as there is no default entries for it.
I hope you can guide me.

daretosucced
11-05-2001, 06:37 AM
WHat has happened ?
Doesn't any1 know solution of this problem ?

Chicken
11-05-2001, 10:43 AM
Please give it more than 1 hour. I'm sorry but I don't know how to help you.