1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

rt: harmonize logging messages

This commit is contained in:
Steffen Vogel 2018-11-01 14:31:41 +01:00
parent ef2dc97c0d
commit 14d0243999
3 changed files with 7 additions and 4 deletions

View file

@ -96,8 +96,8 @@ class MemoryManager {
private:
// This is a singleton, so private constructor ...
MemoryManager() :
memoryGraph("MemoryGraph"),
logger(logging.get("MemoryManager"))
memoryGraph("memory:graph"),
logger(logging.get("memory:manager"))
{
pathCheckFunc = [&](const MemoryGraph::Path& path) {
return this->pathCheck(path);

View file

@ -46,7 +46,7 @@ static auto logger = logging.get("kernel:rt");
int init(int priority, int affinity)
{
logger->info("Initialize real-time sub-system");
logger->info("Initialize sub-system");
#ifdef __linux__
int is_rt;

View file

@ -30,6 +30,7 @@
#include <villas/utils.h>
#include <villas/utils.hpp>
#include <villas/config.h>
#include <villas/log.hpp>
namespace villas {
namespace utils {
@ -100,7 +101,9 @@ int signals_init(void (*cb)(int signal, siginfo_t *sinfo, void *ctx))
{
int ret;
info("Initialize signals");
auto logger = logging.get("signals");
logger->info("Initialize subsystem");
struct sigaction sa_quit;
sa_quit.sa_flags = SA_SIGINFO | SA_NODEFER;