CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
helper_log.cc File Reference
#include "helper_log.h"
#include <errno.h>
#include <fcntl.h>
#include <syslog.h>
#include <unistd.h>
#include <cassert>
#include <cstdarg>
#include <cstdio>
#include <cstdlib>
#include <cstring>
Include dependency graph for helper_log.cc:

Go to the source code of this file.

Namespaces

 anonymous_namespace{helper_log.cc}
 

Functions

void SetLogAuthzDebug (const string &path)
 
void SetLogAuthzSyslogLevel (const int level)
 
void SetLogAuthzSyslogFacility (const int local_facility)
 
void SetLogAuthzSyslogPrefix (const string &prefix)
 
void LogAuthz (const int flags, const char *format,...)
 

Variables

int anonymous_namespace{helper_log.cc}::fd_debug = -1
 
FILE * anonymous_namespace{helper_log.cc}::file_debug = NULL
 
int anonymous_namespace{helper_log.cc}::syslog_facility = LOG_USER
 
int anonymous_namespace{helper_log.cc}::syslog_level = LOG_NOTICE
 
char * anonymous_namespace{helper_log.cc}::syslog_prefix = NULL
 

Function Documentation

void LogAuthz ( const int  flags,
const char *  format,
  ... 
)

Definition at line 110 of file helper_log.cc.

Referenced by main(), ParseHandshakeInit(), and ParseRequest().

Here is the call graph for this function:

Here is the caller graph for this function:

void SetLogAuthzDebug ( const string &  path)

Definition at line 29 of file helper_log.cc.

Referenced by ParseHandshakeInit().

Here is the call graph for this function:

Here is the caller graph for this function:

void SetLogAuthzSyslogFacility ( const int  local_facility)

Definition at line 62 of file helper_log.cc.

Referenced by ParseHandshakeInit().

Here is the caller graph for this function:

void SetLogAuthzSyslogLevel ( const int  level)

Definition at line 44 of file helper_log.cc.

Referenced by ParseHandshakeInit().

Here is the caller graph for this function:

void SetLogAuthzSyslogPrefix ( const string &  prefix)

Definition at line 94 of file helper_log.cc.

Referenced by ParseHandshakeInit().

Here is the call graph for this function:

Here is the caller graph for this function: