access_log.cc
Go to the documentation of this file.
250 HierarchyLogEntry::resetPeerNotes(const Comm::ConnectionPointer &server, const char *requestedHost)
306 ", current total response time value: " << (totalResponseTime_.tv_sec * 1000 + totalResponseTime_.tv_usec/1000) <<
386 for (Format::Token * curr_token = (log->logFormat?log->logFormat->format:NULL); curr_token; curr_token = curr_token->next) {
struct timeval peer_last_write_
time of the last write to the last peer
Definition: HierarchyLogEntry.h:78
void HttpdCombined(const AccessLogEntryPointer &al, Logfile *logfile)
Log with Apache httpd combined format.
Definition: FormatHttpdCombined.cc:23
void fvdbCountVia(const char *key)
void SquidIcap(const AccessLogEntryPointer &al, Logfile *logfile)
Display log details in Squid ICAP format.
Definition: FormatSquidIcap.cc:25
static void accessLogRegisterWithCacheManager(void)
Definition: access_log.cc:356
void log(char *format,...)
int comm_udp_sendto(int fd, const Ip::Address &to_addr, const void *buf, int len)
Definition: comm.cc:949
void HttpdCommon(const AccessLogEntryPointer &al, Logfile *logfile)
Log with Apache httpd common format.
Definition: FormatHttpdCommon.cc:23
Definition: forward.h:22
Definition: Checklist.h:27
Definition: Token.h:36
struct SquidConfig::@104 Log
Definition: HttpRequest.h:49
void clearPeerNotes()
forget previous notePeerRead() and notePeerWrite() calls (if any)
Definition: access_log.cc:272
struct timeval store_complete_stop
Definition: HierarchyLogEntry.h:67
struct timeval peer_select_start
Definition: HierarchyLogEntry.h:65
Http::StatusCode status() const
retrieve the status code for this status line
Definition: StatusLine.h:45
void SquidNative(const AccessLogEntryPointer &al, Logfile *logfile)
Native Squid Format Display.
Definition: FormatSquidNative.cc:23
Definition: RequestMethod.h:27
struct timeval peer_last_read_
time of the last read from the last peer
Definition: HierarchyLogEntry.h:77
bool peerResponseTime(struct timeval &responseTime)
Definition: access_log.cc:316
Logfile * logfileOpen(const char *path, size_t bufsz, int fatal_flag)
Definition: File.cc:39
const char * dash_str
void startPeerClock()
Start recording total time spent communicating with peers.
Definition: access_log.cc:296
struct SquidConfig::@120 mcast_miss
int comm_open(int sock_type, int proto, Ip::Address &addr, int flags, const char *note)
Definition: comm.cc:223
Definition: RefCount.h:27
void accessLogLogTo(CustomLog *log, AccessLogEntry::Pointer &al, ACLChecklist *checklist)
Definition: access_log.cc:74
void fvdbCountForw(const char *key)
int64_t bodyBytesRead
number of body bytes received from the next hop or -1
Definition: HierarchyLogEntry.h:71
Comm::ConnectionPointer tcpServer
TCP/IP level details of the last peer/server connection.
Definition: HierarchyLogEntry.h:70
Definition: HttpReply.h:25
Definition: Store.h:42
void SquidCustom(const AccessLogEntryPointer &al, CustomLog *log)
Log with a local custom format.
Definition: FormatSquidCustom.cc:20
void SquidReferer(const AccessLogEntryPointer &al, Logfile *logfile)
Display log details in Squid old refererlog format.
Definition: FormatSquidReferer.cc:19
Definition: hash.h:23
size_t HttpReply *STUB StoreEntry const KeyScope scope const HttpRequestMethod & method
Definition: stub_store.cc:105
struct SquidConfig::@108 Addrs
static void mcast_encode(unsigned int *, size_t, const unsigned int *)
Definition: access_log.cc:553
void resetPeerNotes(const Comm::ConnectionPointer &server, const char *requestedHost)
Definition: access_log.cc:250
void tvSub(struct timeval &res, struct timeval const &t1, struct timeval const &t2)
Definition: time.cc:44
bool totalResponseTime(struct timeval &responseTime)
Definition: access_log.cc:343
void accessLogLog(AccessLogEntry::Pointer &al, ACLChecklist *checklist)
Definition: access_log.cc:144
void RegisterAction(char const *action, char const *desc, OBJH *handler, int pw_req_flag, int atomic)
Definition: Registration.cc:16
const SBuf Dash
void SquidUserAgent(const AccessLogEntryPointer &al, Logfile *logfile)
Display log details in useragent format.
Definition: FormatSquidUseragent.cc:19