store_log.cc File Reference
#include "squid.h"
#include "debug/Messages.h"
#include "format/Token.h"
#include "HttpReply.h"
#include "log/File.h"
#include "MemObject.h"
#include "mgr/Registration.h"
#include "SquidConfig.h"
#include "Store.h"
#include "store_log.h"
Include dependency graph for store_log.cc:

Go to the source code of this file.

Functions

void storeLog (int tag, const StoreEntry *e)
 
void storeLogRotate (void)
 
void storeLogClose (void)
 
static void storeLogRegisterWithCacheManager (void)
 
void storeLogOpen (void)
 
void storeLogTagsHist (StoreEntry *e)
 

Variables

static const char * storeLogTags []
 
static int storeLogTagsCounts [STORE_LOG_SWAPOUTFAIL+1]
 
static OBJH storeLogTagsHist
 
static Logfilestorelog = nullptr
 
static String str_unknown
 

Function Documentation

◆ storeLog()

◆ storeLogClose()

void storeLogClose ( void  )

Definition at line 105 of file store_log.cc.

References logfileClose(), and storelog.

Referenced by mainReconfigureStart(), and SquidShutdown().

◆ storeLogOpen()

void storeLogOpen ( void  )

◆ storeLogRegisterWithCacheManager()

static void storeLogRegisterWithCacheManager ( void  )
static

Definition at line 116 of file store_log.cc.

References Mgr::RegisterAction(), and storeLogTagsHist.

Referenced by storeLogOpen().

◆ storeLogRotate()

void storeLogRotate ( void  )

Definition at line 96 of file store_log.cc.

References Config, SquidConfig::Log, logfileRotate(), SquidConfig::rotateNumber, and storelog.

Referenced by mainRotate().

◆ storeLogTagsHist()

void storeLogTagsHist ( StoreEntry e)

Variable Documentation

◆ storelog

Logfile* storelog = nullptr
static

Definition at line 33 of file store_log.cc.

Referenced by storeLog(), storeLogClose(), storeLogOpen(), and storeLogRotate().

◆ storeLogTags

const char* storeLogTags[]
static
Initial value:
= {
"CREATE",
"SWAPIN",
"SWAPOUT",
"RELEASE",
"SO_FAIL",
}

Definition at line 22 of file store_log.cc.

Referenced by storeLog(), and storeLogTagsHist().

◆ storeLogTagsCounts

int storeLogTagsCounts[STORE_LOG_SWAPOUTFAIL+1]
static

Definition at line 30 of file store_log.cc.

Referenced by storeLog(), and storeLogTagsHist().

◆ storeLogTagsHist

OBJH storeLogTagsHist
static

Definition at line 31 of file store_log.cc.

Referenced by storeLogRegisterWithCacheManager().

◆ str_unknown

String str_unknown
static

Definition at line 35 of file store_log.cc.

Referenced by storeLog().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors