File shard_proxy_log.c
FileList > broker > shard_proxy_log.c
Go to the source code of this file
#include <assert.h>
#include "shard_proxy_log.h"
#include "broker_util.h"
#include "cas_util.h"
Public Attributes
Public Static Attributes
Public Functions
Public Static Functions
Macros
Public Attributes Documentation
variable proxy_id
variable proxy_info_p
T_PROXY_INFO* proxy_info_p;
variable shm_as_p
T_SHM_APPL_SERVER* shm_as_p;
variable shm_proxy_p
T_SHM_PROXY* shm_proxy_p;
Public Static Attributes Documentation
variable access_log_fp
variable log_filepath
char log_filepath[(PATH_MAX)];
variable log_fp
variable proxy_log_level_str
const char* proxy_log_level_str[];
Public Functions Documentation
function proxy_access_log
int proxy_access_log (
struct timeval * start_time,
int client_ip_addr,
const char * dbname,
const char * dbuser,
bool accepted
)
function proxy_access_log_close
void proxy_access_log_close (
void
)
function proxy_log_close
void proxy_log_close (
void
)
function proxy_log_end
void proxy_log_end (
void
)
function proxy_log_get_level
int proxy_log_get_level (
void
)
function proxy_log_open
void proxy_log_open (
char * br_name,
int proxy_index
)
function proxy_log_write
void proxy_log_write (
int level,
char * svc_code,
const char * fmt,
...
)
Public Static Functions Documentation
function log_open
static FILE * log_open (
char * log_file_name
)
function make_proxy_log_filename
static char * make_proxy_log_filename (
char * filepath_buf,
size_t buf_size,
const char * br_name,
int proxy_index
)
function proxy_log_backup
static void proxy_log_backup (
void
)
function proxy_log_reset
static void proxy_log_reset (
void
)
function proxy_log_write_internal
static void proxy_log_write_internal (
int level,
char * svc_code,
bool do_flush,
const char * fmt,
va_list ap
)
Macro Definition Documentation
define PROXY_LOG_BUFFER_SIZE
#define PROXY_LOG_BUFFER_SIZE `(8192)`
The documentation for this class was generated from the following file cubrid/src/broker/shard_proxy_log.c