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

Variables

const unsigned kMicroSyslogMax = 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 min_log_level = kLogNormal
 
static void(* alt_log_func )(const LogSource source, const int mask, const char *msg) = NULL
 

Variable Documentation

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

Definition at line 89 of file logging.cc.

Referenced by LogCvmfs(), and SetAltLogFunc().

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

Definition at line 81 of file logging.cc.

Referenced by LogCustom(), and SetLogCustomFile().

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

Definition at line 82 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 83 of file logging.cc.

Referenced by LogCustom(), and SetLogCustomFile().

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

Definition at line 80 of file logging.cc.

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

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

Definition at line 51 of file logging.cc.

Referenced by LogMicroSyslog().

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

Definition at line 54 of file logging.cc.

Referenced by LogCvmfs().

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

Definition at line 53 of file logging.cc.

Referenced by LogCvmfs().

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

Definition at line 78 of file logging.cc.

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

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

Definition at line 88 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 60 of file logging.cc.

Referenced by LogCvmfs().

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

Definition at line 70 of file logging.cc.

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

Definition at line 71 of file logging.cc.

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

Definition at line 72 of file logging.cc.

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

Definition at line 74 of file logging.cc.

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

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

Definition at line 75 of file logging.cc.

Referenced by LogMicroSyslog(), and SetLogMicroSyslog().

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

Definition at line 76 of file logging.cc.

Referenced by LogMicroSyslog(), and SetLogMicroSyslog().

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

Definition at line 77 of file logging.cc.

Referenced by LogMicroSyslog(), and SetLogMicroSyslog().