You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by ohaya <oh...@cox.net> on 2005/08/13 02:34:01 UTC

[users@httpd] "access_log" vs. "access.log" problem

Hi,

I am running Apache 2.0.50 on Windows 2000.  

In my httpd.conf, I have:

CustomLog logs/access.log combined

But, I noticed that Apache is writing access entries into the
logs\access_log file, and nothing is being written to the
logs\access.log file.

The reason that I noticed this is I've been trying to track down a
problem, and I wanted to used the "combined" log format, but not only is
the "combined" format not taking effect, but the data is going to
access_log instead of access.log, and I can't find any uncommented
references to "access_log" in httpd.conf at all.

I guess that what I'd really like to do eventually is turn off writing
to access_log, and have my custom format logging going to access.log,
but I can't figure out where or how the access_log is configured, and
the configuration that I have for access.log doesn't seem to be working.

Can anyone tell me how to correct this situation?

Thanks,
Jim

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] "access_log" vs. "access.log" problem

Posted by ohaya <oh...@cox.net>.
Hi,

In case anyone ever runs across something like this before, I've figured
this out.

I had SSL configured on this Apache, and I didn't realize that there was
a <VirtualHost> setup there (probably the default), and there was a
TransferLog directive there for "access_log".

The <VirtualHost> probably is also why nothing was being written to
"access.log".  I've added a CustomLog to the VirtualHost for
"access.log", and now everything works.

Jim



ohaya wrote:
> 
> Hi,
> 
> I am running Apache 2.0.50 on Windows 2000.
> 
> In my httpd.conf, I have:
> 
> CustomLog logs/access.log combined
> 
> But, I noticed that Apache is writing access entries into the
> logs\access_log file, and nothing is being written to the
> logs\access.log file.
> 
> The reason that I noticed this is I've been trying to track down a
> problem, and I wanted to used the "combined" log format, but not only is
> the "combined" format not taking effect, but the data is going to
> access_log instead of access.log, and I can't find any uncommented
> references to "access_log" in httpd.conf at all.
> 
> I guess that what I'd really like to do eventually is turn off writing
> to access_log, and have my custom format logging going to access.log,
> but I can't figure out where or how the access_log is configured, and
> the configuration that I have for access.log doesn't seem to be working.
> 
> Can anyone tell me how to correct this situation?
> 
> Thanks,
> Jim

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] "access_log" vs. "access.log" problem

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
check your .conf files and .htaccess files for any occurances of
error_log.  You might even want to grab unxutils from sourceforge,
'grep -r' is your friend :)

ohaya wrote:
> Hi,
> 
> I am running Apache 2.0.50 on Windows 2000.  
> 
> In my httpd.conf, I have:
> 
> CustomLog logs/access.log combined
> 
> But, I noticed that Apache is writing access entries into the
> logs\access_log file, and nothing is being written to the
> logs\access.log file.
> 
> The reason that I noticed this is I've been trying to track down a
> problem, and I wanted to used the "combined" log format, but not only is
> the "combined" format not taking effect, but the data is going to
> access_log instead of access.log, and I can't find any uncommented
> references to "access_log" in httpd.conf at all.
> 
> I guess that what I'd really like to do eventually is turn off writing
> to access_log, and have my custom format logging going to access.log,
> but I can't figure out where or how the access_log is configured, and
> the configuration that I have for access.log doesn't seem to be working.
> 
> Can anyone tell me how to correct this situation?
> 
> Thanks,
> Jim
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> .
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org