summaryrefslogtreecommitdiffstats
path: root/logger_service/server/src/ss_logger_error_event_storage.cpp
diff options
context:
space:
mode:
authortakeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp>2020-10-22 09:57:03 +0900
committertakeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp>2020-10-22 09:57:03 +0900
commitc8ed80f86085e01bf262cba3fee3bc81bdf731d3 (patch)
tree11c87e818bd1c3c8792e7150f3f4e37edd1b98d7 /logger_service/server/src/ss_logger_error_event_storage.cpp
parent91f5345046f18f406071befd62e0e05322a5a1de (diff)
ss-loggerservice branch 0.1sandbox/ToshikazuOhiwa/ss-loggerservice
Diffstat (limited to 'logger_service/server/src/ss_logger_error_event_storage.cpp')
-rw-r--r--logger_service/server/src/ss_logger_error_event_storage.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/logger_service/server/src/ss_logger_error_event_storage.cpp b/logger_service/server/src/ss_logger_error_event_storage.cpp
index 1bbec7cf..ffdebe73 100644
--- a/logger_service/server/src/ss_logger_error_event_storage.cpp
+++ b/logger_service/server/src/ss_logger_error_event_storage.cpp
@@ -1,5 +1,5 @@
/*
- * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION.
+ * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -198,7 +198,7 @@ void CLoggerErrorEventStorage::ThreadFunction(void) {
TArtifactResponseVec l_responseVec;
uint32_t l_logTime;
uint8_t status;
-// Clock_getSystemTimeY2K38(&l_logTime, &status);
+ Clock_getSystemTimeY2K38(&l_logTime, &status);
(void) pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, &l_oldState);
if (EOK == pthread_mutex_lock(&this->m_mutex)) { // LCOV_EXCL_BR_LINE 5: pthread_mutex_lock's error case.
l_target = this->m_destination;
@@ -420,7 +420,7 @@ EFrameworkunifiedStatus CLoggerErrorEventStorage::PackageAndPlaceArtifacts(
AGL_ASSERT_NOT_TESTED(); // LCOV_EXCL_LINE 200: test assert
char buffer[20];
struct tm local_time;
-// Clock_getLocalTimeY2K38(&f_logTime, &local_time);
+ Clock_getLocalTimeY2K38(&f_logTime, &local_time);
if (0
!= strftime(buffer, sizeof(buffer), "%Y%m%d%H%M%S.bmp",
&local_time)) {