Change-Id: Ic9a36202e8fe40ef5baa968ec47ccd5263c85dd2
Signed-off-by: Hyunbin Lee <hyunbin.lee@samsung.com>
if (__pDir == null)
{
r = _NativeError::ConvertNativeErrorToResult(errno, true);
- SysLog(NID_IO, "[%s] Failed to open directory (%s).", GetErrorMessage(r), pDirPath.get());
+ SysSecureLogException(NID_IO, r, "[%s] Failed to open directory (%s).", GetErrorMessage(r), pDirPath.get());
goto CATCH;
}
return E_SUCCESS;
CATCH:
-
return r;
}
if (_FileUtil::IsFileExist(pFilePath.get()) == false)
{
- SysLog(NID_IO, "[E_FILE_NOT_FOUND] File(%s) does not exist.", pFilePath.get());
+ SysSecureLogException(NID_IO, E_FILE_NOT_FOUND, "[E_FILE_NOT_FOUND] File (%s) does not exist.", pFilePath.get());
return E_FILE_NOT_FOUND;
}