when does apache write to the access log?

This is a discussion on when does apache write to the access log? within the Linux Web Servers forums, part of the Web Server and Related Forums category; If a given GET/POST is not recorded in access_log, does this guarantee that apache did not receive the incoming ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-26-2008
chipk
 
Posts: n/a
Default when does apache write to the access log?

If a given GET/POST is not recorded in access_log, does this guarantee
that apache did not receive the incoming request on the network side?
Or does apache delay writing to access_log until the underlying module
(e.g. mod_php) returns? The second scenario would suggest that
absence of an access_log record could be due either to a problem
before apache received the request, or within the called module.
Thanks.
  #2 (permalink)  
Old 03-26-2008
phantom
 
Posts: n/a
Default Re: when does apache write to the access log?

"chipk" <ckaye9@gmail.com> wrote in message
news:a14f844e-d256-46b3-89bf-75ab64288ce5@p25g2000hsf.googlegroups.com...
> If a given GET/POST is not recorded in access_log, does this guarantee
> that apache did not receive the incoming request on the network side?
> Or does apache delay writing to access_log until the underlying module
> (e.g. mod_php) returns? The second scenario would suggest that
> absence of an access_log record could be due either to a problem
> before apache received the request, or within the called module.
> Thanks.


Apache only writes the log entry upon completion of the request (one of the
standard fields in the log is the number of bytes transferred, which will
not be known until the end of the request)

You may want to look into mod_status and the ExtendedStatus directive.


 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:14 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0