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:
parent
edb122ae58
commit
ed250bb433
3 changed files with 7 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue