#include <AccessLogEntry.h>

Inheritance diagram for AccessLogEntry:
Collaboration diagram for AccessLogEntry:

Classes

class  AdaptationDetails
 This subclass holds general adaptation log info. More...
 
class  CacheDetails
 This subclass holds log info for Squid internal stats. More...
 
class  Headers
 This subclass holds log info for various headers in raw format. More...
 
class  HtcpDetails
 This subclass holds log info for HTCP protocol. More...
 
class  HttpDetails
 This subclass holds log info for HTTP protocol. More...
 
class  IcapLogEntry
 This subclass holds log info for ICAP part of request. More...
 
class  IcpDetails
 This subclass holds log info for ICP protocol. More...
 
class  SslDetails
 logging information specific to the SSL protocol More...
 

Public Types

typedef RefCount< AccessLogEntryPointer
 

Public Member Functions

 AccessLogEntry ()
 
 ~AccessLogEntry ()
 
void getLogClientIp (char *buf, size_t bufsz) const
 
const char * getClientIdent () const
 Fetch the client IDENT string, or nil if none is available. More...
 
const char * getExtUser () const
 Fetch the external ACL provided 'user=' string, or nil if none is available. More...
 
SBuf getLogMethod () const
 Fetch the transaction method string (ICP opcode, HTCP opcode or HTTP method) More...
 
void syncNotes (HttpRequest *request)
 
const SBufeffectiveVirginUrl () const
 
void setVirginUrlForMissingRequest (const SBuf &vu)
 Remember Client URI (or equivalent) when there is no HttpRequest. More...
 

Public Attributes

SBuf url
 
Comm::ConnectionPointer tcpClient
 TCP/IP level details about the client connection. More...
 
class AccessLogEntry::HttpDetails http
 
class AccessLogEntry::IcpDetails icp
 
class AccessLogEntry::HtcpDetails htcp
 
class AccessLogEntry::SslDetails ssl
 
class AccessLogEntry::CacheDetails cache
 
class AccessLogEntry::Headers headers
 
class
AccessLogEntry::AdaptationDetails 
adapt
 
const char * lastAclName = nullptr
 string for external_acl_type ACL format code More...
 
SBuf lastAclData
 string for external_acl_type DATA format code More...
 
HierarchyLogEntry hier
 
HttpReplyreply = nullptr
 
HttpRequestrequest = nullptr
 
HttpRequestadapted_request = nullptr
 
NotePairs::Pointer notes
 
class AccessLogEntry::IcapLogEntry icap
 

Private Attributes

SBuf virginUrlForMissingRequest_
 

Detailed Description

Definition at line 38 of file AccessLogEntry.h.

Member Typedef Documentation

Definition at line 42 of file AccessLogEntry.h.

Constructor & Destructor Documentation

AccessLogEntry::AccessLogEntry ( )
inline

Definition at line 44 of file AccessLogEntry.h.

Member Function Documentation

const SBuf * AccessLogEntry::effectiveVirginUrl ( ) const

Effective URI of the received client (or equivalent) HTTP request or, in rare cases where that information was not collected, a nil pointer. Receiving errors are represented by "error:..." URIs. Adaptations and redirections do not affect this URI.

Definition at line 121 of file AccessLogEntry.cc.

References HttpRequest::effectiveRequestUri(), SBuf::isEmpty(), request, and virginUrlForMissingRequest_.

Referenced by Format::Format::assemble().

void AccessLogEntry::setVirginUrlForMissingRequest ( const SBuf vu)
inline

Member Data Documentation

class AccessLogEntry::HtcpDetails AccessLogEntry::htcp

Referenced by getLogMethod().

SBuf AccessLogEntry::lastAclData

Definition at line 176 of file AccessLogEntry.h.

Referenced by Format::Format::assemble(), and makeExternalAclKey().

const char* AccessLogEntry::lastAclName = nullptr

Definition at line 175 of file AccessLogEntry.h.

Referenced by Format::Format::assemble(), makeExternalAclKey(), and ~AccessLogEntry().

NotePairs::Pointer AccessLogEntry::notes

key:value pairs set by squid.conf note directive and key=value pairs returned from URL rewrite/redirect helper

Definition at line 185 of file AccessLogEntry.h.

Referenced by Format::Format::assemble(), and syncNotes().

SBuf AccessLogEntry::virginUrlForMissingRequest_
private

Client URI (or equivalent) for effectiveVirginUrl() when HttpRequest is missing. This member is ignored unless the request member is nil.

Definition at line 248 of file AccessLogEntry.h.

Referenced by effectiveVirginUrl(), and setVirginUrlForMissingRequest().


The documentation for this class was generated from the following files:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors