access_log.cc
Go to the documentation of this file.
50 using HeaderValueCounts = std::unordered_map<SBuf, uint64_t, std::hash<SBuf>, std::equal_to<SBuf>, PoolingAllocator<HeaderValueCountsElement> >;
193 HierarchyLogEntry::resetPeerNotes(const Comm::ConnectionPointer &server, const char *requestedHost)
296 for (Format::Token * curr_token = (log->logFormat?log->logFormat->format:nullptr); curr_token; curr_token = curr_token->next) {
void accessLogLogTo(CustomLog *log, const AccessLogEntryPointer &al, ACLChecklist *checklist)
Definition: access_log.cc:66
struct timeval peer_last_write_
time of the last write to the last peer
Definition: HierarchyLogEntry.h:69
void HttpdCombined(const AccessLogEntryPointer &al, Logfile *logfile)
Log with Apache httpd combined format.
Definition: FormatHttpdCombined.cc:22
void SquidIcap(const AccessLogEntryPointer &al, Logfile *logfile)
Display log details in Squid ICAP format.
Definition: FormatSquidIcap.cc:23
static void accessLogRegisterWithCacheManager(void)
Definition: access_log.cc:266
void log(char *format,...)
void HttpdCommon(const AccessLogEntryPointer &al, Logfile *logfile)
Log with Apache httpd common format.
Definition: FormatHttpdCommon.cc:22
Definition: PackableStream.h:75
Definition: forward.h:17
void accessLogLog(const AccessLogEntryPointer &al, ACLChecklist *checklist)
Definition: access_log.cc:136
Definition: Checklist.h:30
class AccessLogEntry::HttpDetails http
void fvdbCountVia(const SBuf &)
Definition: Token.h:35
void clearPeerNotes()
forget previous notePeerRead() and notePeerWrite() calls (if any)
Definition: access_log.cc:215
struct timeval current_time
the current UNIX time in timeval {seconds, microseconds} format
Definition: gadgets.cc:18
struct timeval store_complete_stop
Definition: HierarchyLogEntry.h:56
struct timeval peer_select_start
Definition: HierarchyLogEntry.h:54
void SquidNative(const AccessLogEntryPointer &al, Logfile *logfile)
Native Squid Format Display.
Definition: FormatSquidNative.cc:22
struct timeval peer_last_read_
time of the last read from the last peer
Definition: HierarchyLogEntry.h:68
bool peerResponseTime(struct timeval &responseTime)
Definition: access_log.cc:239
Logfile * logfileOpen(const char *path, size_t bufsz, int fatal_flag)
Definition: File.cc:40
const char * dash_str
int64_t bodyBytesRead
number of body bytes received from the next hop or -1
Definition: HierarchyLogEntry.h:60
Comm::ConnectionPointer tcpServer
TCP/IP level details of the last peer/server connection.
Definition: HierarchyLogEntry.h:59
void fvdbCountForwarded(const SBuf &)
count occurrences of the given X-Forwarded-For header value
Definition: Store.h:37
void SquidCustom(const AccessLogEntryPointer &al, CustomLog *log)
Log with a local custom format.
Definition: FormatSquidCustom.cc:20
struct SquidConfig::@89 Log
void SquidReferer(const AccessLogEntryPointer &al, Logfile *logfile)
Display log details in Squid old refererlog format.
Definition: FormatSquidReferer.cc:18
STL Allocator that uses Squid memory pools for memory management.
Definition: PoolingAllocator.h:18
void RegisterAction(char const *action, char const *desc, OBJH *handler, Protected, Atomic, Format)
Definition: Registration.cc:54
Definition: CustomLog.h:17
void resetPeerNotes(const Comm::ConnectionPointer &server, const char *requestedHost)
Definition: access_log.cc:193
const SBuf Dash
void tvSub(struct timeval &res, struct timeval const &t1, struct timeval const &t2)
Definition: gadgets.cc:58
void SquidUserAgent(const AccessLogEntryPointer &al, Logfile *logfile)
Display log details in useragent format.
Definition: FormatSquidUseragent.cc:18
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products