Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Why is Apache opening these log files? |
|
Author |
|
jhsachs
Joined: 03 Aug 2010 Posts: 8 Location: Northern California
|
Posted: Tue 03 Aug '10 15:21 Post subject: Why is Apache opening these log files? |
|
|
I'm using Apache 2.2 under Windows as a local host.
I have a subdirectory in my document directory which belongs to a project that I just finished. I'll call it httpd/xyz. When I tried to archive it I was unable to move some of the files. I found that a directory named httpd/xyz/stats/logs contained a half dozen files with names like ex20091015000002-73.161.103.12.log. All of these files appear to be access logs. Apache keeps all of them open as long as it is running, but has not modified them since last October.
I tried shutting Apache down, deleting the files, and restarting. Apache failed to start. I had to undelete the files to revive it.
I looked at httpd.conf, and found one customlog directive, which refers to “logs/access.log”. Sure enough, there's an access log at that location, with a current time stamp.
I can't find anything in httpd.conf which might be telling Apache to open the access files in httpd/xyz/stats/logs. I see no additional configuration files in httpd or httpd/xyz. There's a .htaccess file in httpd/xyz/stats, but it only contains one directive, “Options +Indexes”.
What could be making Apache open these extra files? I want to delete them, but until I can persuade Apache to give them up, I can't. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Mon 16 Aug '10 14:44 Post subject: |
|
|
it mi9ght help if you post your config at http://pastebin.com/ and post here the link to it. |
|
Back to top |
|
|
|
|
|
|