Commit 85704496 authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼
Browse files

rt: harmonize logging messages

parent bd22f513
......@@ -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);
......
......@@ -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;
......
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment