From 2baf5bfc8c0bb821c7da1fe88163c96cf4e4005f Mon Sep 17 00:00:00 2001 From: Timm Fitschen <t.fitschen@indiscale.com> Date: Thu, 29 Jul 2021 12:25:49 +0200 Subject: [PATCH] WIP: insert delete --- src/caosdb/configuration.cpp | 3 ++- src/ccaosdb.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/caosdb/configuration.cpp b/src/caosdb/configuration.cpp index ed3385a..4bcfaeb 100644 --- a/src/caosdb/configuration.cpp +++ b/src/caosdb/configuration.cpp @@ -504,8 +504,9 @@ auto ConfigurationManager::InitializeDefaults() -> int { // ... and use the configuration file if (configuration_file_path != nullptr) { - // TODO(tf): log which file has been used. mLoadSingleJSONConfiguration(*configuration_file_path); + CAOSDB_LOG_INFO(logger_name) + << "Loaded configuration from" << configuration_file_path << "."; } if (this->json_configuration.is_object() && diff --git a/src/ccaosdb.cpp b/src/ccaosdb.cpp index 34da580..d21b3bd 100644 --- a/src/ccaosdb.cpp +++ b/src/ccaosdb.cpp @@ -12,7 +12,7 @@ extern "C" { -#define CCAOSDB_LOGGER_NAME "ccaosd" +#define CCAOSDB_LOGGER_NAME "ccaosdb" /* * Macro for wrapping every function into a try-catch clause. If an exception -- GitLab