#include "squid.h"
#include "AccessLogEntry.h"
#include "acl/FilledChecklist.h"
#include "globals.h"
#include "HttpReply.h"
#include "icap_log.h"
#include "log/CustomLog.h"
#include "log/File.h"
#include "log/Formats.h"
#include "SquidConfig.h"
Go to the source code of this file.
Functions | |
void | icapLogOpen () |
void | icapLogClose () |
void | icapLogRotate () |
void | icapLogLog (AccessLogEntry::Pointer &al) |
Variables | |
int | IcapLogfileStatus = LOG_DISABLE |
Function Documentation
◆ icapLogClose()
void icapLogClose | ( | ) |
Definition at line 38 of file icap_log.cc.
References Config, SquidConfig::icaplogs, log(), SquidConfig::Log, and logfileClose().
Referenced by mainReconfigureStart().
◆ icapLogLog()
void icapLogLog | ( | AccessLogEntry::Pointer & | al | ) |
Definition at line 60 of file icap_log.cc.
References accessLogLogTo(), AccessLogEntry::adapted_request, Config, RefCount< C >::getRaw(), HTTPMSGLOCK(), IcapLogfileStatus, SquidConfig::icaplogs, SquidConfig::Log, LOG_ENABLE, AccessLogEntry::reply, and ACLFilledChecklist::reply.
Referenced by Adaptation::Icap::Xaction::maybeLog().
◆ icapLogOpen()
void icapLogOpen | ( | ) |
Definition at line 23 of file icap_log.cc.
References Log::Format::CLF_NONE, Config, IcapLogfileStatus, SquidConfig::icaplogs, log(), SquidConfig::Log, LOG_ENABLE, and logfileOpen().
Referenced by mainInitialize(), and mainReconfigureFinish().
◆ icapLogRotate()
void icapLogRotate | ( | ) |
Definition at line 51 of file icap_log.cc.
References Config, SquidConfig::icaplogs, log(), SquidConfig::Log, logfileRotate(), and SquidConfig::rotateNumber.
Referenced by mainRotate().
Variable Documentation
◆ IcapLogfileStatus
int IcapLogfileStatus = LOG_DISABLE |
Definition at line 20 of file icap_log.cc.
Referenced by HttpRequest::icapHistory(), icapLogLog(), icapLogOpen(), and Adaptation::Icap::Xaction::maybeLog().