CernVM-FS  2.11.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
anonymous_namespace{logging.cc} Namespace Reference

Classes

class  LogBuffer
 

Variables

unsigned gMicroSyslogMax = 500 * 1024
 
pthread_mutex_t lock_stdout = PTHREAD_MUTEX_INITIALIZER
 
pthread_mutex_t lock_stderr = PTHREAD_MUTEX_INITIALIZER
 
const char * module_names []
 
int syslog_facility = LOG_USER
 
int syslog_level = LOG_NOTICE
 
char * syslog_prefix = NULL
 
string * usyslog_dest = NULL
 
int usyslog_fd = -1
 
int usyslog_fd1 = -1
 
unsigned usyslog_size = 0
 
pthread_mutex_t lock_usyslock = PTHREAD_MUTEX_INITIALIZER
 
const unsigned kMaxCustomlog = 3
 
string * customlog_dests [] = {NULL, NULL, NULL}
 
int customlog_fds [] = {-1, -1, -1}
 
pthread_mutex_t customlog_locks []
 
LogLevels max_log_level = kLogNormal
 
static void(* alt_log_func )(const LogSource source, const int mask, const char *msg) = NULL
 
LogBuffer g_log_buffer
 

Variable Documentation

void(* anonymous_namespace{logging.cc}::alt_log_func)(const LogSource source, const int mask, const char *msg) = NULL
static

Definition at line 93 of file logging.cc.

Referenced by LogCvmfs(), and SetAltLogFunc().

string* anonymous_namespace{logging.cc}::customlog_dests[] = {NULL, NULL, NULL}

Definition at line 85 of file logging.cc.

Referenced by LogCustom(), and SetLogCustomFile().

int anonymous_namespace{logging.cc}::customlog_fds[] = {-1, -1, -1}

Definition at line 86 of file logging.cc.

Referenced by LogCustom(), and SetLogCustomFile().

pthread_mutex_t anonymous_namespace{logging.cc}::customlog_locks[]
Initial value:
= {
PTHREAD_MUTEX_INITIALIZER,
PTHREAD_MUTEX_INITIALIZER,
PTHREAD_MUTEX_INITIALIZER}

Definition at line 87 of file logging.cc.

Referenced by LogCustom(), and SetLogCustomFile().

LogBuffer anonymous_namespace{logging.cc}::g_log_buffer

Definition at line 144 of file logging.cc.

Referenced by ClearLogBuffer(), GetLogBuffer(), and LogCvmfs().

unsigned anonymous_namespace{logging.cc}::gMicroSyslogMax = 500 * 1024

Definition at line 55 of file logging.cc.

Referenced by LogMicroSyslog(), and SetLogMicroSyslogMaxSize().

const unsigned anonymous_namespace{logging.cc}::kMaxCustomlog = 3

Definition at line 84 of file logging.cc.

Referenced by LogCustom(), LogShutdown(), and SetLogCustomFile().

pthread_mutex_t anonymous_namespace{logging.cc}::lock_stderr = PTHREAD_MUTEX_INITIALIZER

Definition at line 58 of file logging.cc.

Referenced by LogCvmfs().

pthread_mutex_t anonymous_namespace{logging.cc}::lock_stdout = PTHREAD_MUTEX_INITIALIZER

Definition at line 57 of file logging.cc.

Referenced by LogCvmfs().

pthread_mutex_t anonymous_namespace{logging.cc}::lock_usyslock = PTHREAD_MUTEX_INITIALIZER

Definition at line 82 of file logging.cc.

Referenced by GetLogMicroSyslog(), LogMicroSyslog(), and SetLogMicroSyslog().

LogLevels anonymous_namespace{logging.cc}::max_log_level = kLogNormal

Definition at line 92 of file logging.cc.

Referenced by LogCvmfs(), and SetLogVerbosity().

const char* anonymous_namespace{logging.cc}::module_names[]
Initial value:
= {
"unknown", "cache", "catalog", "sql",
"cvmfs", "hash", "download", "compress",
"quota", "talk", "monitor", "lru",
"fuse stub", "signature", "fs traversal", "catalog traversal",
"nfs maps", "publish", "spooler", "concurrency",
"utility", "glue buffer", "history", "unionfs",
"pathspec", "receiver", "upload s3", "upload http",
"s3fanout", "gc", "dns", "authz",
"reflog", "kvstore"}

Definition at line 64 of file logging.cc.

Referenced by LogCvmfs().

int anonymous_namespace{logging.cc}::syslog_facility = LOG_USER

Definition at line 74 of file logging.cc.

int anonymous_namespace{logging.cc}::syslog_level = LOG_NOTICE

Definition at line 75 of file logging.cc.

char* anonymous_namespace{logging.cc}::syslog_prefix = NULL

Definition at line 76 of file logging.cc.

string* anonymous_namespace{logging.cc}::usyslog_dest = NULL

Definition at line 78 of file logging.cc.

Referenced by GetLogMicroSyslog(), LogCvmfs(), and SetLogMicroSyslog().

int anonymous_namespace{logging.cc}::usyslog_fd = -1

Definition at line 79 of file logging.cc.

Referenced by LogMicroSyslog(), and SetLogMicroSyslog().

int anonymous_namespace{logging.cc}::usyslog_fd1 = -1

Definition at line 80 of file logging.cc.

Referenced by LogMicroSyslog(), and SetLogMicroSyslog().

unsigned anonymous_namespace{logging.cc}::usyslog_size = 0

Definition at line 81 of file logging.cc.

Referenced by LogMicroSyslog(), and SetLogMicroSyslog().