store_log.cc File Reference
#include "squid.h"
#include "format/Token.h"
#include "HttpReply.h"
#include "log/File.h"
#include "MemObject.h"
#include "mgr/Registration.h"
#include "SquidConfig.h"
#include "SquidTime.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 = NULL
 
static String str_unknown
 

Function Documentation

void storeLog ( int  tag,
const StoreEntry e 
)

Definition at line 38 of file store_log.cc.

Referenced by StoreEntry::release(), storeSwapOutFileClosed(), and storeSwapOutStart().

void storeLogClose ( void  )

Definition at line 102 of file store_log.cc.

References logfileClose(), and NULL.

Referenced by mainReconfigureStart(), and SquidShutdown().

void storeLogOpen ( void  )
static void storeLogRegisterWithCacheManager ( void  )
static

Definition at line 113 of file store_log.cc.

References Mgr::RegisterAction(), and storeLogTagsHist.

Referenced by storeLogOpen().

void storeLogRotate ( void  )

Definition at line 93 of file store_log.cc.

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

Referenced by mainRotate().

void storeLogTagsHist ( StoreEntry e)

Variable Documentation

Logfile* storelog = NULL
static

Definition at line 33 of file store_log.cc.

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().

int storeLogTagsCounts[STORE_LOG_SWAPOUTFAIL+1]
static

Definition at line 30 of file store_log.cc.

Referenced by storeLog(), and storeLogTagsHist().

OBJH storeLogTagsHist
static

Definition at line 31 of file store_log.cc.

Referenced by storeLogRegisterWithCacheManager().

String str_unknown
static

Definition at line 35 of file store_log.cc.

Referenced by storeLog().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors