AccessLogEntry.cc
Go to the documentation of this file.
169 const SBuf *effectiveUrl = request ? &request->effectiveRequestUri() : &virginUrlForMissingRequest_;
const char * getClientIdent() const
Fetch the client IDENT string, or nil if none is available.
Definition: AccessLogEntry.cc:78
SBuf virginUrlForMissingRequest_
Definition: AccessLogEntry.h:272
static std::ostream & Extra(std::ostream &os)
prefixes each grouped debugs() line after the first one in the group
Definition: Debug.h:104
void updateError(const Error &)
sets (or updates the already stored) transaction error as needed
Definition: AccessLogEntry.cc:190
class AccessLogEntry::HtcpDetails htcp
const SBuf * effectiveVirginUrl() const
Definition: AccessLogEntry.cc:167
void packHeadersUsingFastPacker(Packable &p) const
Definition: HttpReply.cc:86
Definition: InstanceId.h:19
char * toStr(char *buf, const unsigned int blen, int force=AF_UNSPEC) const
Definition: Address.cc:802
class AccessLogEntry::HttpDetails http
class AccessLogEntry::IcpDetails icp
class AccessLogEntry::IcapLogEntry icap
Definition: HttpRequest.h:49
struct SquidConfig::@113 onoff
char * last_meta
image of the last ICAP response header or eCAP meta received
Definition: AccessLogEntry.h:182
Definition: MemBuf.h:24
const char * lastAclName
string for external_acl_type ACL format code
Definition: AccessLogEntry.h:186
Comm::ConnectionPointer tcpClient
TCP/IP level details about the client connection.
Definition: AccessLogEntry.h:78
MasterXaction::Pointer masterXaction
the master transaction this request belongs to. Never nil.
Definition: HttpRequest.h:238
class AccessLogEntry::CacheDetails cache
class AccessLogEntry::Headers headers
class AccessLogEntry::AdaptationDetails adapt
virtual std::ostream & detailCodeContext(std::ostream &os) const override
appends human-friendly context description line(s) to a cache.log record
Definition: AccessLogEntry.cc:135
void getLogClientIp(char *buf, size_t bufsz) const
Definition: AccessLogEntry.cc:19
size_t HttpReply *STUB StoreEntry const KeyScope scope const HttpRequestMethod & method
Definition: stub_store.cc:105
struct SquidConfig::@108 Addrs
void packReplyHeaders(MemBuf &mb) const
dump all reply headers (for sending or risky logging)
Definition: AccessLogEntry.cc:200
virtual ScopedId codeContextGist() const override
Definition: AccessLogEntry.cc:124
void update(const Error &)
if necessary, stores the given error information (if any)
Definition: Error.cc:16
const SBuf & effectiveRequestUri() const
RFC 7230 section 5.5 - Effective Request URI.
Definition: HttpRequest.cc:688
Definition: Address.h:41
const char * getExtUser() const
Fetch the external ACL provided 'user=' string, or nil if none is available.
Definition: AccessLogEntry.cc:90
SBuf getLogMethod() const
Fetch the transaction method string (ICP opcode, HTCP opcode or HTTP method)
Definition: AccessLogEntry.cc:50
const char * icp_opcode_str[]