{
result r = E_SUCCESS;
- SysLog(NID_NET_HTTP, "url : %ls", url.GetPointer());
+ SysSecureLog(NID_NET_HTTP, "url : %ls", url.GetPointer());
r = __pHttpCookieStorageManagerImpl->GetCookies(url, cookies);
SysTryReturnResult(NID_NET_HTTP, r == E_SUCCESS, r, "Propagating.");
r = TransExceptionsExclusive(r, E_PRIVILEGE_DENIED, E_USER_NOT_CONSENTED, E_OUT_OF_MEMORY);
SysTryReturnResult(NID_NET_HTTP, r == E_SUCCESS, r, "The application is not permitted to call this method.");
- SysLog(NID_NET_HTTP, "url : %ls", url.GetPointer());
+ SysSecureLog(NID_NET_HTTP, "url : %ls", url.GetPointer());
r = __pHttpCookieStorageManagerImpl->RemoveCookies(url);
SysTryReturnResult(NID_NET_HTTP, r == E_SUCCESS, r, "Propagating.");
Uri hostUri0;
Uri hostUri1;
- SysLog(NID_NET_HTTP, "host0 : %ls, host1 : %ls.", host0.GetPointer(), host1.GetPointer());
+ SysSecureLog(NID_NET_HTTP, "host0 : %ls, host1 : %ls.", host0.GetPointer(), host1.GetPointer());
r = hostUri0.SetUri(host0);
r = TransExceptionsExclusive(r, E_INVALID_ARG, E_OUT_OF_MEMORY);
SysTryReturn(NID_NET_HTTP, r == E_SUCCESS, L"", r,
"[%s] Propagating.", GetErrorMessage(r));
- SysLog(NID_NET_HTTP, "Cookie Path: %ls", filePath.GetPointer());
+ SysSecureLog(NID_NET_HTTP, "Cookie Path: %ls", filePath.GetPointer());
return filePath;
}
r, "Failed to check the url(%ls).", url.GetPointer());
hostName = uri.GetHost();
- SysLog(NID_NET_HTTP, " The host name of cookie is %ls.", hostName.GetPointer());
+ SysSecureLog(NID_NET_HTTP, " The host name of cookie is %ls.", hostName.GetPointer());
r = hostName.IndexOf(L"www", 0, indexOfPrefix);
if (r == E_SUCCESS && indexOfPrefix >= 0)
domainName = hostName;
}
- SysLog(NID_NET_HTTP, "The domain name of cookie is %ls.", domainName.GetPointer());
+ SysSecureLog(NID_NET_HTTP, "The domain name of cookie is %ls.", domainName.GetPointer());
SysTryReturnResult(NID_NET_HTTP, !domainName.IsEmpty(),
E_INVALID_ARG, "The input argument is invalid(%ls).", url.GetPointer());
}
}
- SysLog(NID_NET_HTTP, "The cookie line is %ls.", cookieLine.GetPointer());
+ SysSecureLog(NID_NET_HTTP, "The cookie line is %ls.", cookieLine.GetPointer());
StringTokenizer headerToken(cookieLine, L"\t");
int index = 0;
String cookieField;
r = headerToken.GetNextToken(cookieField);
cookieField.Trim();
- SysLog(NID_NET_HTTP, "The cookie field is %ls.", cookieField.GetPointer());
+ SysSecureLog(NID_NET_HTTP, "The cookie field is %ls.", cookieField.GetPointer());
if (r == E_SUCCESS && !cookieField.IsEmpty())
{
if (index == _CURL_COOKIE_DOMAIN_NAME_INDEX)
r = cookieField.IndexOf(domainName, 0, indexOf);
if (r == E_SUCCESS && indexOf >= 0)
{
- SysLog(NID_NET_HTTP, "Found the cookie domain(%ls).", cookieField.GetPointer());
+ SysSecureLog(NID_NET_HTTP, "Found the cookie domain(%ls).", cookieField.GetPointer());
}
}
SysLog(NID_NET_HTTP, "The cookie file is not exist.");
}
- SysLog(NID_NET_HTTP, "The domain name is %ls, the cookies are %ls.", domainName.GetPointer(), cookies.GetPointer());
+ SysSecureLog(NID_NET_HTTP, "The domain name is %ls, the cookies are %ls.", domainName.GetPointer(), cookies.GetPointer());
return r;
}
r, "Failed to check the url(%ls).", url.GetPointer());
hostName = uri.GetHost();
- SysLog(NID_NET_HTTP, "The host name of url is %ls.", hostName.GetPointer());
+ SysSecureLog(NID_NET_HTTP, "The host name of url is %ls.", hostName.GetPointer());
r = hostName.IndexOf(L"www", 0, indexOfPrefix);
if (r == E_SUCCESS && indexOfPrefix >= 0)
domainName = hostName;
}
- SysLog(NID_NET_HTTP, " The domain name of url is %ls.", domainName.GetPointer());
+ SysSecureLog(NID_NET_HTTP, " The domain name of url is %ls.", domainName.GetPointer());
SysTryReturnResult(NID_NET_HTTP, !domainName.IsEmpty(),
E_INVALID_ARG, "The input argument is invalid(%ls).", url.GetPointer());
}
}
- SysLog(NID_NET_HTTP, "The cookie line is %ls.", cookieLine.GetPointer());
+ SysSecureLog(NID_NET_HTTP, "The cookie line is %ls.", cookieLine.GetPointer());
StringTokenizer headerToken(cookieLine, L"\t");
int index = 0;
String cookieField;
r = headerToken.GetNextToken(cookieField);
cookieField.Trim();
- SysLog(NID_NET_HTTP, "The cookie field is %ls.", cookieField.GetPointer());
+ SysSecureLog(NID_NET_HTTP, "The cookie field is %ls.", cookieField.GetPointer());
if (r == E_SUCCESS && cookieField.IsEmpty() == false)
{
if (index == _CURL_COOKIE_DOMAIN_NAME_INDEX)
r = cookieField.IndexOf(domainName, 0, indexOf);
if (r == E_SUCCESS && indexOf >= 0)
{
- SysLog(NID_NET_HTTP, "Found the cookie domain(%ls) to be removed.", cookieField.GetPointer());
+ SysSecureLog(NID_NET_HTTP, "Found the cookie domain(%ls) to be removed.", cookieField.GetPointer());
isMatchedCookies = true;
break;
}
"Memory allocation failed.");
cookieList.Add(*pCookieLine);
- SysLog(NID_NET_HTTP, "The cookie domain[%ls] is saved.", cookieField.GetPointer());
+ SysSecureLog(NID_NET_HTTP, "The cookie domain[%ls] is saved.", cookieField.GetPointer());
break;
}
}
String* pCookieLine = dynamic_cast< String* >(cookieList.GetAt(i));
SysTryReturnResult(NID_NET_HTTP, pCookieLine != null, E_SYSTEM,
"A system error has occurred.");
- SysLog(NID_NET_HTTP, "[%d] The cookie line is %ls.", i, pCookieLine->GetPointer());
+ SysSecureLog(NID_NET_HTTP, "[%d] The cookie line is %ls.", i, pCookieLine->GetPointer());
r = pCookieFile->Write(*pCookieLine);
r = TransExceptionsExclusive(r, E_SYSTEM, E_OUT_OF_MEMORY);
}
else
{
- SysLog(NID_NET_HTTP, " Not found the Cookie domain(%ls).", domainName.GetPointer());
+ SysSecureLog(NID_NET_HTTP, " Not found the Cookie domain(%ls).", domainName.GetPointer());
}
}
SysLog(NID_NET_HTTP, "The cookie file is not exist.");
}
- SysLog(NID_NET_HTTP, "The Cookie of Domain Name(%ls) is removed.", domainName.GetPointer());
+ SysSecureLog(NID_NET_HTTP, "The Cookie of Domain Name(%ls) is removed.", domainName.GetPointer());
return r;
}
SysTryReturnResult(NID_NET_HTTP, r == E_SUCCESS, r,
"Failed to remove the cookie file[%ls].", filePath.GetPointer());
- SysLog(NID_NET_HTTP, "The cookie file(%ls) was removed.", filePath.GetPointer());
+ SysSecureLog(NID_NET_HTTP, "The cookie file(%ls) was removed.", filePath.GetPointer());
}
return r;
r = GetHeaderValue(authName, fieldValue);
- SysLog(NID_NET_HTTP, "The http authentication name is %ls, The header value is %ls.", authName.GetPointer(), fieldValue.GetPointer());
+ SysSecureLog(NID_NET_HTTP, "The http authentication name is %ls, The header value is %ls.", authName.GetPointer(), fieldValue.GetPointer());
if (!fieldValue.IsEmpty())
{
String proxyAddressOfManagedMode = pConnectionInfoImpl->GetProxyAddress();
String deviceName = pConnectionInfoImpl->GetDeviceName();
- SysLog(NID_NET_HTTP, "[Preference Mode] Network is started. the device name is %ls, the system proxy address is %ls.", deviceName.GetPointer(), proxyAddressOfManagedMode.GetPointer());
+ SysSecureLog(NID_NET_HTTP, "[Preference Mode] Network is started. the device name is %ls, the system proxy address is %ls.", deviceName.GetPointer(), proxyAddressOfManagedMode.GetPointer());
if (__pHttpSessionImpl->GetProxyAddress() != null)
{
proxyAddressOfManagedMode = *__pHttpSessionImpl->GetProxyAddress();
- SysLog(NID_NET_HTTP, "[Preference Mode] Use a specific proxy address[%ls] of application.", proxyAddressOfManagedMode.GetPointer());
+ SysSecureLog(NID_NET_HTTP, "[Preference Mode] Use a specific proxy address[%ls] of application.", proxyAddressOfManagedMode.GetPointer());
}
else
{
String proxyAddressOfManagedMode = pConnectionInfoImpl->GetProxyAddress();
String deviceName = pConnectionInfoImpl->GetDeviceName();
- SysLog(NID_NET_HTTP, "[Default Mode] Network is changed. the device name is %ls, the system proxy address is %ls.", deviceName.GetPointer(), proxyAddressOfManagedMode.GetPointer());
+ SysSecureLog(NID_NET_HTTP, "[Default Mode] Network is changed. the device name is %ls, the system proxy address is %ls.", deviceName.GetPointer(), proxyAddressOfManagedMode.GetPointer());
if (__pHttpSessionImpl->IsUserProxy() == true)
{
proxyAddressOfManagedMode = *__pHttpSessionImpl->GetProxyAddress();
- SysLog(NID_NET_HTTP, "[Default Mode] Use a specific proxy address[%ls] of application.", proxyAddressOfManagedMode.GetPointer());
+ SysSecureLog(NID_NET_HTTP, "[Default Mode] Use a specific proxy address[%ls] of application.", proxyAddressOfManagedMode.GetPointer());
}
else
{
SysTryCatch(NID_NET_HTTP, pStringPart != null, , E_SYSTEM,
"[E_SYSTEM] A system error has occurred.");
- SysLog(NID_NET_HTTP, "[StringPart] The name is %ls, the mimeType is %ls, the charset is %ls.",
+ SysSecureLog(NID_NET_HTTP, "[StringPart] The name is %ls, the mimeType is %ls, the charset is %ls.",
pStringPart->GetName().GetPointer(), pStringPart->GetMimeType().GetPointer(),
pStringPart->GetCharset().GetPointer());
if (pFilePart->GetFilePath().IsEmpty())
{
contentLength += pFilePart->GetByteBuffer()->GetRemaining();
- SysLog(NID_NET_HTTP, "[File Part] The length of file name(%ls) is %d.", pFilePart->GetFileName().GetPointer(), pFilePart->GetByteBuffer()->GetRemaining());
+ SysSecureLog(NID_NET_HTTP, "[File Part] The length of file name(%ls) is %d.", pFilePart->GetFileName().GetPointer(), pFilePart->GetByteBuffer()->GetRemaining());
}
else
{
"[E_SYSTEM] Failed to GetAttributes(%ls).", pFilePart->GetFilePath().GetPointer());
contentLength += fileAttributes.GetFileSize();
- SysLog(NID_NET_HTTP, "[File Part] The size of File(%ls) is %lld.", pFilePart->GetFilePath().GetPointer(), fileAttributes.GetFileSize());
+ SysSecureLog(NID_NET_HTTP, "[File Part] The size of File(%ls) is %lld.", pFilePart->GetFilePath().GetPointer(), fileAttributes.GetFileSize());
}
count++;
//File Byte Buffer
if (pFilePart->GetFilePath().IsEmpty())
{
- SysLog(NID_NET_HTTP, "[FileParts] The file name is %ls.", pFilePart->GetFileName().GetPointer());
+ SysSecureLog(NID_NET_HTTP, "[FileParts] The file name is %ls.", pFilePart->GetFileName().GetPointer());
ByteBuffer* pFileBuffer = pFilePart->GetByteBuffer();
//check if the ByteBuffer is empty
{
File* pFile = null;
//generates the byte buffer(Binary Part) from the FilePart.
- SysLog(NID_NET_HTTP, "[FileParts] The file is %ls.", pFilePart->GetFilePath().GetPointer());
+ SysSecureLog(NID_NET_HTTP, "[FileParts] The file is %ls.", pFilePart->GetFilePath().GetPointer());
//Handle the file
if (pFilePart->GetFile() == null)
{
- SysLog(NID_NET_HTTP, "[FileParts] The file(%ls) was opened.", pFilePart->GetFilePath().GetPointer());
+ SysSecureLog(NID_NET_HTTP, "[FileParts] The file(%ls) was opened.", pFilePart->GetFilePath().GetPointer());
pFile = new (std::nothrow) File();
SysTryCatch(NID_NET_HTTP, pFile != null, r = E_OUT_OF_MEMORY, E_OUT_OF_MEMORY,
"[E_OUT_OF_MEMORY] Memory allocation failed. (%ls).", pFilePart->GetFilePath().GetPointer());
if (isLastFile)
{
- SysLog(NID_NET_HTTP, "[FileParts] End of the file or byte buffer(%ls)", pFilePart->GetFileName().GetPointer());
+ SysSecureLog(NID_NET_HTTP, "[FileParts] End of the file or byte buffer(%ls)", pFilePart->GetFileName().GetPointer());
//Removes the FilePart in FilePartList.
__pEntity->GetFilePartList()->Remove(*pFilePart, true);
__uri = uri;
- SysLog(NID_NET_HTTP, "The uri is %ls.", uri.GetPointer());
+ SysSecureLog(NID_NET_HTTP, "The uri is %ls.", uri.GetPointer());
return r;
}
__cookieValue = subCookieString;
- SysLog(NID_NET_HTTP, "The cookie string is %ls.", cookieString.GetPointer());
+ SysSecureLog(NID_NET_HTTP, "The cookie string is %ls.", cookieString.GetPointer());
return r;
}
"Memory allocation failed.");
//Parse the cookie.
- SysLog(NID_NET_HTTP, "The cookie line is %ls.", pCookieLine->GetPointer());
+ SysSecureLog(NID_NET_HTTP, "The cookie line is %ls.", pCookieLine->GetPointer());
StringTokenizer headerToken(*pCookieLine, _HTTP_SET_COOKIE_DELIMITER);
while (headerToken.HasMoreTokens())
cookieFlagName.Trim();
- SysLog(NID_NET_HTTP, "The name of cookie flag is %ls, the value of cookie flag is %ls.",
+ SysSecureLog(NID_NET_HTTP, "The name of cookie flag is %ls, the value of cookie flag is %ls.",
cookieFlagName.GetPointer(), cookieFlagValue.GetPointer());
if (cookieFlagName.Equals(_HTTP_COOKIE_COMMENT_NAME, false))
{
pCookieImpl->SetComment(cookieFlagValue);
- SysLog(NID_NET_HTTP, "Set %ls as value(%ls).",
+ SysSecureLog(NID_NET_HTTP, "Set %ls as value(%ls).",
_HTTP_COOKIE_COMMENT_NAME, cookieFlagValue.GetPointer());
}
else if (cookieFlagName.Equals(_HTTP_COOKIE_COMMENTURL_NAME, false))
{
pCookieImpl->SetCommentUrl(cookieFlagValue);
- SysLog(NID_NET_HTTP, "Set %ls as value(%ls).",
+ SysSecureLog(NID_NET_HTTP, "Set %ls as value(%ls).",
_HTTP_COOKIE_COMMENTURL_NAME, cookieFlagValue.GetPointer());
}
if (cookieFlagValue.IsEmpty() == false && cookieFlagValue.Equals(L"TRUE", false))
pCookieImpl->SetDiscard(true);
- SysLog(NID_NET_HTTP, "Set %ls as value(%ls).",
+ SysSecureLog(NID_NET_HTTP, "Set %ls as value(%ls).",
_HTTP_COOKIE_DISCARD_NAME, cookieFlagValue.GetPointer());
}
else if (cookieFlagName.Equals(_HTTP_COOKIE_DOMAIN_NAME, false))
{
pCookieImpl->SetDomain(cookieFlagValue);
- SysLog(NID_NET_HTTP, "Set %ls as value(%ls).",
+ SysSecureLog(NID_NET_HTTP, "Set %ls as value(%ls).",
_HTTP_COOKIE_DOMAIN_NAME, cookieFlagValue.GetPointer());
}
int rs = -1;
r = Integer::Parse(cookieFlagValue, rs);
pCookieImpl->SetMaxAge(rs);
- SysLog(NID_NET_HTTP, "Set %ls as value(%d).", _HTTP_COOKIE_MAX_AGE_NAME, rs);
+ SysSecureLog(NID_NET_HTTP, "Set %ls as value(%d).", _HTTP_COOKIE_MAX_AGE_NAME, rs);
}
}
else if (cookieFlagName.Equals(_HTTP_COOKIE_PATH_NAME, false))
{
pCookieImpl->SetPath(cookieFlagValue);
- SysLog(NID_NET_HTTP, "Set %ls as value(%ls).",
+ SysSecureLog(NID_NET_HTTP, "Set %ls as value(%ls).",
_HTTP_COOKIE_PATH_NAME, cookieFlagValue.GetPointer());
}
else if (cookieFlagName.Equals(_HTTP_COOKIE_PORT_NAME, false))
{
pCookieImpl->SetPorts(cookieFlagValue);
- SysLog(NID_NET_HTTP, "Set %ls as value(%ls).",
+ SysSecureLog(NID_NET_HTTP, "Set %ls as value(%ls).",
_HTTP_COOKIE_PORT_NAME, cookieFlagValue.GetPointer());
}
if (cookieFlagValue.IsEmpty() == false && cookieFlagValue.Equals(L"TRUE", false))
pCookieImpl->SetSecure(true);
- SysLog(NID_NET_HTTP, "Set %ls as value(%ls).",
+ SysSecureLog(NID_NET_HTTP, "Set %ls as value(%ls).",
_HTTP_COOKIE_SECURE_NAME, cookieFlagValue.GetPointer());
}
else if (cookieFlagName.Equals(_HTTP_COOKIE_VERSION_NAME, false))
{
pCookieImpl->SetVersion(cookieFlagValue);
- SysLog(NID_NET_HTTP, "Set %ls as value(%ls).",
+ SysSecureLog(NID_NET_HTTP, "Set %ls as value(%ls).",
_HTTP_COOKIE_VERSION_NAME, cookieFlagValue.GetPointer());
}
else if (cookieFlagName.Equals(_HTTP_COOKIE_EXPIRES_NAME, false))
{
pCookieImpl->SetExpires(cookieFlagValue);
- SysLog(NID_NET_HTTP, "Set %ls as value(%ls).",
+ SysSecureLog(NID_NET_HTTP, "Set %ls as value(%ls).",
_HTTP_COOKIE_EXPIRES_NAME, cookieFlagValue.GetPointer());
}
else if (cookieFlagName.Equals(_HTTP_COOKIE_HTTP_ONLY, false))
{
pCookieImpl->SetHttpOnly(true);
- SysLog(NID_NET_HTTP, "Set %ls as value(true).", _HTTP_COOKIE_HTTP_ONLY);
+ SysSecureLog(NID_NET_HTTP, "Set %ls as value(true).", _HTTP_COOKIE_HTTP_ONLY);
}
else
{
pCookieImpl->SetCookieName(cookieFlagName);
pCookieImpl->SetCookieValue(cookieFlagValue);
- SysLog(NID_NET_HTTP, "Set Cookie - Name: %ls, Value: %ls",
+ SysSecureLog(NID_NET_HTTP, "Set Cookie - Name: %ls, Value: %ls",
cookieFlagName.GetPointer(), cookieFlagValue.GetPointer());
}
else
{
- SysLog(NID_NET_HTTP, "Invalid Cookie format. Cookie name already exist.: %ls, Value: %ls",
+ SysSecureLog(NID_NET_HTTP, "Invalid Cookie format. Cookie name already exist.: %ls, Value: %ls",
cookieFlagName.GetPointer(), cookieFlagValue.GetPointer());
}
}
SysTryReturnResult(NID_NET_HTTP, r == E_SUCCESS, E_SYSTEM,
"Failed to unlock mutex.");
- SysLog(NID_NET_HTTP, "[ManagedNetConnection] NetHttpSessionMode : %ls, Host Address : %ls, NetHttpCookieFlag : %ls",
+ SysSecureLog(NID_NET_HTTP, "[ManagedNetConnection] NetHttpSessionMode : %ls, Host Address : %ls, NetHttpCookieFlag : %ls",
_HttpSessionImpl_GetSessionModeAsString(sessionMode).GetPointer(), hostAddr.GetPointer(), _HttpSessionImpl_GetCookieFlagAsString(flag).GetPointer());
_ManagedNetConnectionImpl* pManagedNetConnectionImpl = null;
proxyAddressOfManagedMode = pConnectionInfoImpl->GetProxyAddress();
__deviceName = pConnectionInfoImpl->GetDeviceName();
- SysLog(NID_NET_HTTP, "[Preference Mode] Network is already started. The device name is %ls, the system proxy address is %ls.", __deviceName.GetPointer(), proxyAddressOfManagedMode.GetPointer());
+ SysSecureLog(NID_NET_HTTP, "[Preference Mode] Network is already started. The device name is %ls, the system proxy address is %ls.", __deviceName.GetPointer(), proxyAddressOfManagedMode.GetPointer());
}
}
else
{
pManagedNetConnectionListener->SetReceivedEvent(true);
proxyAddressOfManagedMode = _NetConnectionManagerImpl::GetProxyAddress();
- SysLog(NID_NET_HTTP, "[Default Mode] The current network is managed network preference Mode. The system proxy address is %ls.", proxyAddressOfManagedMode.GetPointer());
+ SysSecureLog(NID_NET_HTTP, "[Default Mode] The current network is managed network preference Mode. The system proxy address is %ls.", proxyAddressOfManagedMode.GetPointer());
}
if (pProxyAddr != null)
{
- SysLog(NID_NET_HTTP, "The proxy address is %ls.", pProxyAddr->GetPointer());
+ SysSecureLog(NID_NET_HTTP, "The proxy address is %ls.", pProxyAddr->GetPointer());
__isUserProxy = true;
pProxyAddress.reset(new (std::nothrow) String(*pProxyAddr));
{
if (_NetConnectionManagerImpl::IsDefaultMode() == true || pManagedNetConnectionListener->IsEventReceived() == true)
{
- SysLog(NID_NET_HTTP, "The proxy url is %ls.", proxyAddressOfManagedMode.GetPointer());
+ SysSecureLog(NID_NET_HTTP, "The proxy url is %ls.", proxyAddressOfManagedMode.GetPointer());
pProxyAddress.reset(new (std::nothrow) String(proxyAddressOfManagedMode));
SysTryReturnResult(NID_NET_HTTP, pProxyAddress != null, E_OUT_OF_MEMORY,
__hostAddress = _HTTP_PROTOCOL_SCHEME + __hostAddress;
}
- SysLog(NID_NET_HTTP, "The host address is %ls.", __hostAddress.GetPointer());
+ SysSecureLog(NID_NET_HTTP, "The host address is %ls.", __hostAddress.GetPointer());
pHostUri = new (std::nothrow) Uri();
SysTryReturnResult(NID_NET_HTTP, pHostUri != null, E_OUT_OF_MEMORY,
SysTryReturnResult(NID_NET_HTTP, r == E_SUCCESS, E_SYSTEM,
"Failed to unlock mutex.");
- SysLog(NID_NET_HTTP, "[ManagedNetConnection] NetHttpSessionMode: %ls, Host Address: %ls, NetHttpCookieFlag: %ls",
+ SysSecureLog(NID_NET_HTTP, "[ManagedNetConnection] NetHttpSessionMode: %ls, Host Address: %ls, NetHttpCookieFlag: %ls",
_HttpSessionImpl_GetSessionModeAsString(
sessionMode).GetPointer(), hostAddr.GetPointer(), _HttpSessionImpl_GetCookieFlagAsString(flag).GetPointer());
if (pProxyAddr != null)
{
- SysLog(NID_NET_HTTP, "The proxy address %ls.", pProxyAddr->GetPointer());
+ SysSecureLog(NID_NET_HTTP, "The proxy address %ls.", pProxyAddr->GetPointer());
__isUserProxy = true;
pProxyAddress.reset(new (std::nothrow) String(*pProxyAddr));
__hostAddress = _HTTP_PROTOCOL_SCHEME + __hostAddress;
}
- SysLog(NID_NET_HTTP, "The host address is %ls.", __hostAddress.GetPointer());
+ SysSecureLog(NID_NET_HTTP, "The host address is %ls.", __hostAddress.GetPointer());
pHostUri = new (std::nothrow) Uri();
SysTryReturnResult(NID_NET_HTTP, pHostUri != null, E_OUT_OF_MEMORY,
SysTryReturnResult(NID_NET_HTTP, r == E_SUCCESS && url.IsEmpty() == false,
E_INVALID_ARG, "Failed to get the uri.");
- SysLog(NID_NET_HTTP, "The request uri is %ls.", url.GetPointer());
+ SysSecureLog(NID_NET_HTTP, "The request uri is %ls.", url.GetPointer());
hostAddress = __pHttpSessionImpl->GetHostAddress();
String scheme = _HttpUtility::GetProtocolScheme(hostAddress);
scheme.Trim();
url = scheme + url;
- SysLog(NID_NET_HTTP, "Added the scheme to url(%ls).", url.GetPointer());
+ SysSecureLog(NID_NET_HTTP, "Added the scheme to url(%ls).", url.GetPointer());
}
- SysLog(NID_NET_HTTP, "Added the scheme to url(%ls).", url.GetPointer());
+ SysSecureLog(NID_NET_HTTP, "Added the scheme to url(%ls).", url.GetPointer());
}
//Compare the host of HttpSessoin with the host of uri.