Apply secure log for privacy info
[platform/framework/native/net.git] / src / http / FNetHttp_HttpCommon.cpp
index fa6573f..6106064 100644 (file)
@@ -582,7 +582,7 @@ _HttpUtility::CompareHost(const Tizen::Base::String & host0, const Tizen::Base::
        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);
@@ -638,7 +638,7 @@ _HttpUtility::GetCookieFilePath(void)
        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;
 }