Apache Logs

webshark25

New member
Joined
Jun 1, 2005
Messages
4
I am a reseller using Directadmin.

I use 3rd party software to anaylze my logs (ClickTracks).

The way the logs are set up in the system is most strange and I need it changed fast.

Basicly its keeping 5 days of logs in 5 files, if i d.l all 5 and try to unzip they all have the same name! so i need to unzip 1 each time and rename - this is real crazy and time consuming.

I need to be able to d/l like 1 week of logs in 1 file and anayzle offline.

Is there a way to setup the system so i can get the daily's like now but also have 1 large file the contains the logs for the week/month and not need to go through all the ****.

I don't use the statistics tool in the directadmin, its really not a good program if you want proper anaylse.

Hoping for a good answer :cool:
 
Try the awstats plugin.
DirectAdmin forces logs to be rotated daily now and a way around it hasn't been found yet.
What you can do is have a cronjob execute a script after the tally is run every night (usually just after midnight). In that script you might have it unpack the log and just keep unpacking and adding logs until 5 days have passed. On the 5th day it would tar it and move it to a different place with a specified name, then the cycle would begin again.
 
If you're a reseller, you'll most likely need to contact your host to make a change to the number of days logs are kept.

Most stats programs will allow you to analyze one day or one file - as well as multiples, you might want to check with the author of your script for that possibility as well.

Hope that helps

Joe
 
jmstacey said:
Try the awstats plugin.
DirectAdmin forces logs to be rotated daily now and a way around it hasn't been found yet.
What you can do is have a cronjob execute a script after the tally is run every night (usually just after midnight). In that script you might have it unpack the log and just keep unpacking and adding logs until 5 days have passed. On the 5th day it would tar it and move it to a different place with a specified name, then the cycle would begin again.

I don't understand what script you are talking about.

Anyways Clicktracks can import what log files i fed it, daily's, multiple, 1 file it doesn't matter. My problem is that i need to d/l the logs files every 4 days and unzip and save.
 
A script which you would craft with some ingenuity and imagination.

(a.k.a. Programming sonny)
:p
 
jmstacey said:
A script which you would craft with some ingenuity and imagination.

(a.k.a. Programming sonny)
:p

Will check it out, thanks!

But still will be hoping for better control of the apache logs.
 
What would I have to update so that the logs would save the cookie information ?

Apache cookie is activated.

Where would the file be for a client and what line shoud be edited ?

Thanks
 
Back
Top