summaryrefslogtreecommitdiffstats
path: root/service/system/logger_service/server
diff options
context:
space:
mode:
authorTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2020-11-22 09:58:42 +0900
committerTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2020-11-23 13:38:54 +0000
commit23d40b490b2e6735d70d413e6a147d78b1898c8b (patch)
treebba5789f6b5d6a1771677ead07129e43c6df857f /service/system/logger_service/server
parentf375d527c775582f4229a94d96177f18d80f0008 (diff)
Fix the path to the host specific system configurations
Fix the path to the host specific system configurations, '/usr/conf/' to follow the standard '/etc'. And all configurations of agl basesystem should stored under subdirectory, 'basesystem'. Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> Change-Id: I2be55d483a4a359e69250fc36d1f03a55a01cd8e
Diffstat (limited to 'service/system/logger_service/server')
-rwxr-xr-xservice/system/logger_service/server/lib/ss_logger_store_logs.cpp2
-rwxr-xr-xservice/system/logger_service/server/src/loggerservice_application.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/service/system/logger_service/server/lib/ss_logger_store_logs.cpp b/service/system/logger_service/server/lib/ss_logger_store_logs.cpp
index 2bd8b79..a391844 100755
--- a/service/system/logger_service/server/lib/ss_logger_store_logs.cpp
+++ b/service/system/logger_service/server/lib/ss_logger_store_logs.cpp
@@ -51,7 +51,7 @@
#include "ss_logger_store_logs_loggerservicelog.h"
#include "ss_logger_cfg.h"
-#define LOGGERSERVICELOG_CONFIG_PATH "/usr/agl/conf/BS/ss/logger_service/rodata/ss_logger.cfg"
+#define LOGGERSERVICELOG_CONFIG_PATH "/etc/basesystem/BS/ss/logger_service/rodata/ss_logger.cfg"
#define LOGGER_TMP_FN "__LOGGER.tmp"
#define LOGGERSERVICELOG_TMP_OUTPUT_PATH "/tmp"
#define PSTORE_DIR_PATH "/dev/pstore"
diff --git a/service/system/logger_service/server/src/loggerservice_application.cpp b/service/system/logger_service/server/src/loggerservice_application.cpp
index 2d39fb2..afec695 100755
--- a/service/system/logger_service/server/src/loggerservice_application.cpp
+++ b/service/system/logger_service/server/src/loggerservice_application.cpp
@@ -178,7 +178,7 @@ EFrameworkunifiedStatus FrameworkunifiedOnInitialization(HANDLE hApp) {
LOG_STATUS_IF_ERRORED(l_eStatus, "g_loggerCfg.Initialize()"); // LCOV_EXCL_BR_LINE 15: macro
std::string l_cfgFilePathAndName =
- "/usr/agl/conf/BS/ss/logger_service/rodata/ss_logger.cfg";
+ "/etc/basesystem/BS/ss/logger_service/rodata/ss_logger.cfg";
if (eFrameworkunifiedStatusOK != (l_eStatus = g_loggerCfg.Load(l_cfgFilePathAndName))) { // LCOV_EXCL_BR_LINE 200:To ensure success
// LCOV_EXCL_START 200:To ensure success
AGL_ASSERT_NOT_TESTED(); // LCOV_EXCL_LINE 200: test assert