> > > I've got apache-1.3.12-24mdk installed on my machine.  When someone accesses
> > > my machine via http it doesn't show up in the logs in /var/log/httpd. 
> > > Sometimes it takes some minutes until the entry shows up in the logs,
> > > sometimes it doesn't appear at all!  HostnameLookups is off and I also tried
> > > chown'ing the files in /var/log/httpd to nobody.nobody.  This didn't help at
> > > all.
> > > 
> > > Is that behaviour expected, or am I doing something wrong?
> > > 
> > > Alexander Skwar
> > 
> > I also installed mod-perl (see previous message) and I don't seem to have
> > problems with the log files.  I can access one of my virtual websites and
> > then check the logs, and they appear right away.
> > 
> > I also have /etc/httpd/logs linked to /var/log/httpd, and I use sub-directories
> > for each virtual websites within that log directory.
> > 
> > My <VirtualHost www.site1.com> section contains...
> >     ErrorLog logs/site1/error_log
> >     TransferLog logs/site1/txfr_log
> >     CustomLog logs/site1/access_log script
> >     CustomLog logs/site1/access_log common
> >     CustomLog logs/site1/referer_log referer
> >     CustomLog logs/site1/agent_log agent
> > 
> If you check the global file (/var/log/httpd/access_log) do the entries
> appear immediately?  I am having the same problem as the original poster
> and after a bit of investigation I suspect that some (global) logging
> (e.g. access_log but *not* error_log) is delayed for performance reasons.

I just tried out more testing...  the access_log for my virtual hosts are
updated right away. For the dummy/generic home page (not virtual), access_log
is not updated simply because it updates perl-access_log file instead. This
perl-access_log is what is used when mod-perl is installed (see my previous
explanation message on how I got this working).

So since I am using mod-perl, I do not have the same problem as mentioned.

Thanks... Dan.


Reply via email to