AccessLogEntry.h
Go to the documentation of this file.
290void accessLogLogTo(CustomLog *, const AccessLogEntryPointer &, ACLChecklist *checklist = nullptr);
void accessLogLogTo(CustomLog *, const AccessLogEntryPointer &, ACLChecklist *checklist=nullptr)
Definition: access_log.cc:66
void accessLogLog(const AccessLogEntryPointer &, ACLChecklist *)
Definition: access_log.cc:136
const char * accessLogTime(time_t)
Definition: Checklist.h:27
This subclass holds general adaptation log info. TODO: Inner class declarations should be moved outsi...
Definition: AccessLogEntry.h:184
char * last_meta
image of the last ICAP response header or eCAP meta received
Definition: AccessLogEntry.h:187
This subclass holds log info for Squid internal stats TODO: Inner class declarations should be moved ...
Definition: AccessLogEntry.h:146
This subclass holds log info for various headers in raw format TODO: shuffle this to the relevant pro...
Definition: AccessLogEntry.h:173
This subclass holds log info for HTCP protocol TODO: Inner class declarations should be moved outside...
Definition: AccessLogEntry.h:125
This subclass holds log info for HTTP protocol TODO: Inner class declarations should be moved outside...
Definition: AccessLogEntry.h:92
MessageSizes clientRequestSz
counters for the original request received from client
Definition: AccessLogEntry.h:103
This subclass holds log info for ICAP part of request TODO: Inner class declarations should be moved ...
Definition: AccessLogEntry.h:217
struct timeval trTime
Transaction response time. The timer starts when the ICAP transaction is created and stops when the r...
Definition: AccessLogEntry.h:244
struct timeval ioTime
Transaction I/O time. The timer starts when the first ICAP request byte is scheduled for sending and ...
Definition: AccessLogEntry.h:250
This subclass holds log info for ICP protocol TODO: Inner class declarations should be moved outside.
Definition: AccessLogEntry.h:116
logging information specific to the SSL protocol
Definition: AccessLogEntry.h:133
Definition: AccessLogEntry.h:41
void getLogClientIp(char *buf, size_t bufsz) const
Definition: AccessLogEntry.cc:20
SBuf getLogMethod() const
Fetch the transaction method string (ICP opcode, HTCP opcode or HTTP method)
Definition: AccessLogEntry.cc:72
void packReplyHeaders(MemBuf &mb) const
dump all reply headers (for sending or risky logging)
Definition: AccessLogEntry.cc:222
class AccessLogEntry::CacheDetails cache
const char * getClientIdent() const
Fetch the client IDENT string, or nil if none is available.
Definition: AccessLogEntry.cc:100
SBuf virginUrlForMissingRequest_
Definition: AccessLogEntry.h:283
class AccessLogEntry::IcapLogEntry icap
class AccessLogEntry::Headers headers
Comm::ConnectionPointer tcpClient
TCP/IP level details about the client connection.
Definition: AccessLogEntry.h:83
class AccessLogEntry::HttpDetails http
class AccessLogEntry::HtcpDetails htcp
const char * getExtUser() const
Fetch the external ACL provided 'user=' string, or nil if none is available.
Definition: AccessLogEntry.cc:112
void setVirginUrlForMissingRequest(const SBuf &vu)
Remember Client URI (or equivalent) when there is no HttpRequest.
Definition: AccessLogEntry.h:264
const char * getLogClientFqdn(char *buf, size_t bufSize) const
Definition: AccessLogEntry.cc:51
class AccessLogEntry::AdaptationDetails adapt
class AccessLogEntry::IcpDetails icp
ProxyProtocol::HeaderPointer proxyProtocolHeader
see ConnStateData::proxyProtocolHeader_
Definition: AccessLogEntry.h:210
const char * lastAclName
string for external_acl_type ACL format code
Definition: AccessLogEntry.h:191
const SBuf * effectiveVirginUrl() const
Definition: AccessLogEntry.cc:189
ScopedId codeContextGist() const override
Definition: AccessLogEntry.cc:146
class AccessLogEntry::SslDetails ssl
void updateError(const Error &)
sets (or updates the already stored) transaction error as needed
Definition: AccessLogEntry.cc:212
std::ostream & detailCodeContext(std::ostream &os) const override
appends human-friendly context description line(s) to a cache.log record
Definition: AccessLogEntry.cc:157
Definition: ProtocolVersion.h:24
Definition: CodeContext.h:53
Definition: CustomLog.h:18
Definition: HierarchyLogEntry.h:23
Definition: HttpReply.h:25
Definition: RequestMethod.h:27
Definition: HttpRequest.h:49
Definition: Address.h:41
Definition: LogTags.h:67
Definition: MemBuf.h:24
Definition: MessageSizes.h:17
Definition: InstanceId.h:19
Definition: Store.h:42
Definition: SquidString.h:26