While working on another task that took me to my /var/log directory, I happened to notice a file named http-mywebsitename.com-access.log that was 50Gb in size. Not exactly knowing what it was I found a file growing to such a size to be a little alarming, so I looked inside the file. It just seemed to be a record of every files' access.
While that could be useful I suppose, I couldn't think of any present use for a 50Gb record, so I emptied the file to free the space and went on with my business. Five days later, it is 60Mb again. So here are my questions:
- Where does one turn this log on and off?
- What controls the level of granularity saved in this log?
- Why would I want to keep a multi-Gb access log around?