Ripples 1.0
High Performant Software Architecture For Transaction Processing
Loading...
Searching...
No Matches
log_app.c File Reference
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/uio.h>
#include <time.h>
#include <unistd.h>
#include "config.h"
#include "constants.h"
#include "channel.h"
#include "log_app.h"
#include "utils.h"
Include dependency graph for log_app.c:

Functions

void * log_app_loop (void *args)
 

Variables

static const char * app_log_msg_id_txt []
 

Detailed Description

Author
Faruk Grozdanic

Copyright (c) 2025 Faruk Grozdanic

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Variable Documentation

◆ app_log_msg_id_txt

const char* app_log_msg_id_txt[]
static
Initial value:
= {
"Unknown",
"vl_fn_epoll: code error, event id not recognized",
"vl_fn_tcp_accept_conns: non-supported client IP socket family on TCP connection",
"vl_fn_tcp_accept_conns: non-supported local IP socket family on TCP connection",
"vl_fn_tcp_accept_conns: getsockname() coder error or system out of resources",
"vl_run: could not set CPU affinity for vectorloop thread, performance might be impacted.",
}

Static predefined application log messages. Order matters and MUST match one for app_log_loop_args_t.