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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux