diff --git a/fpga/gpu/src/gpu.cpp b/fpga/gpu/src/gpu.cpp index 4c9a214f3..76cf6e8e8 100644 --- a/fpga/gpu/src/gpu.cpp +++ b/fpga/gpu/src/gpu.cpp @@ -71,7 +71,7 @@ villas::gpu::GpuAllocator::getName() const GpuFactory::GpuFactory() : Plugin("cuda", "CUDA capable GPUs") { - logger = villas::logging.get("GpuFactory"); + logger = villas::logging.get("gpu:factory"); } // required to be defined here for PIMPL to compile @@ -94,7 +94,7 @@ std::string Gpu::getName() const cudaDeviceProp deviceProp; if (cudaGetDeviceProperties(&deviceProp, gpuId) != cudaSuccess) { // logger not yet availabe - villas::logging.get("Gpu")->error("Cannot retrieve properties for GPU {}", gpuId); + villas::logging.get("gpu")->error("Cannot retrieve properties for GPU {}", gpuId); throw std::exception(); } diff --git a/fpga/include/villas/fpga/card.hpp b/fpga/include/villas/fpga/card.hpp index fce834c97..bddd05ead 100644 --- a/fpga/include/villas/fpga/card.hpp +++ b/fpga/include/villas/fpga/card.hpp @@ -132,7 +132,7 @@ public: static Logger getStaticLogger() - { return villas::logging.get("PCIeCardFactory"); } + { return villas::logging.get("pcie:card:factory"); } virtual std::string getName() const diff --git a/fpga/include/villas/fpga/core.hpp b/fpga/include/villas/fpga/core.hpp index 6170eb49e..ec7756eaa 100644 --- a/fpga/include/villas/fpga/core.hpp +++ b/fpga/include/villas/fpga/core.hpp @@ -267,7 +267,7 @@ private: protected: static Logger - getStaticLogger() { return villas::logging.get("CoreFactory"); } + getStaticLogger() { return villas::logging.get("core:factory"); } private: static CoreFactory* diff --git a/fpga/include/villas/fpga/node.hpp b/fpga/include/villas/fpga/node.hpp index 34d9ab1b2..ca35ad409 100644 --- a/fpga/include/villas/fpga/node.hpp +++ b/fpga/include/villas/fpga/node.hpp @@ -63,7 +63,7 @@ public: class StreamGraph : public graph::DirectedGraph { public: - StreamGraph() : graph::DirectedGraph("StreamGraph") {} + StreamGraph() : graph::DirectedGraph("stream:graph") {} std::shared_ptr getOrCreateStreamVertex(const std::string &node,