PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > comp.info.servers.unix > when does apache write to the access log?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.info.servers.unix Web servers for UNIX platforms.

when does apache write to the access log?

Réponse
 
LinkBack Outils de la discussion
Vieux 26/03/2008, 19h39   #1
chipk
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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.
  Réponse avec citation
Vieux 26/03/2008, 21h31   #2
phantom
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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.


  Réponse avec citation
Vieux 26/03/2008, 21h31   #3
phantom
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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.


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 00h17.


Édité par : vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,07626 seconds with 11 queries