X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=inline;f=service%2Fsystem%2Flogger_service%2Fserver%2Fsrc%2Fss_logger_util.cpp;fp=service%2Fsystem%2Flogger_service%2Fserver%2Fsrc%2Fss_logger_util.cpp;h=0de602267875141c0d5db7cf63922e044513f4b6;hb=761d3a409fb8ddb3e01e1eded4aaab17bb4a155f;hp=6ac72251f17fdc4206ff0f6ffc30daa89b22e93a;hpb=23d40b490b2e6735d70d413e6a147d78b1898c8b;p=staging%2Fbasesystem.git diff --git a/service/system/logger_service/server/src/ss_logger_util.cpp b/service/system/logger_service/server/src/ss_logger_util.cpp index 6ac7225..0de6022 100755 --- a/service/system/logger_service/server/src/ss_logger_util.cpp +++ b/service/system/logger_service/server/src/ss_logger_util.cpp @@ -1019,8 +1019,8 @@ EFrameworkunifiedStatus CLoggerUtil::CopyUntyped(std::string f_source, } else if (0 != S_ISDIR(l_stat.st_mode)) { l_eStatus = CopyDirectory(f_source, f_destination); } else if (0 != S_ISLNK(l_stat.st_mode)) { - // avoid duplicate copy for eErrorEventTypeInterfaceunifiedEmmcLogs: /nv/log/awlog -> /nv/BS/ss/logger_service/rwdata/log2/awlog - if (f_source.find("/nv/BS/ss/logger_service/rwdata/awlog") == std::string::npos) { + // avoid duplicate copy for eErrorEventTypeInterfaceunifiedEmmcLogs: /var/local/lib/basesystem/nv/log/awlog -> /nv/BS/ss/logger_service/rwdata/log2/awlog + if (f_source.find("/var/local/lib/basesystem/nv/BS/ss/logger_service/rwdata/awlog") == std::string::npos) { l_eStatus = CopyDirectory(f_source, f_destination); } } else if (0 != S_ISREG(l_stat.st_mode)) {