apache log

apache log

Posted by: Nef
Posted on: 2005-06-17 21:10:00

In my logs folder there are 2 different subfolders. one is "http" and the other is "http.817615" What is the difference beween the two? Im using awstats, and want to use up-to-date stats instead of daily. both access.log's have the same data, so wondering what is the difference?

And also about the rotating logs, is there a way to stop the logs from being rotated and just keep appending new data to 1 file every day no mater the size.
If not, is there a set time that logs are rotated each day?

Re: apache log

Posted by: ardco
Posted on: 2005-06-18 10:55:00

If you do an ls -l in shell, or maybe some "properties" function in an ftp program, you'll see "http" is linked to the other. So, it's easier to use the shorter one, and the contents are the same, as you've noticed. Probably one is for uniqueness, and other for convenience.

Logs seem to usually rotate not too long after midnight CA time. I doubt you can change that, but you could copy part(s) of the files to another location at different times using a cron or other script if you wanted.

BobS

Tags: logsawstatsapache logaccess loghttp