Lines Matching refs:LOG
72 LOG(DEBUG) << mMark << " connecting TCP socket"; in tcpConnect()
84 LOG(ERROR) << "Failed to create socket"; in tcpConnect()
92 LOG(ERROR) << "Failed to set socket mark"; in tcpConnect()
99 LOG(WARNING) << "Failed to enable TFO: " << tfo.msg(); in tcpConnect()
108 LOG(DEBUG) << "Socket failed to connect"; in tcpConnect()
121 LOG(ERROR) << "Failed to read cert"; in setTestCaCertificate()
127 LOG(ERROR) << "Failed to add cert"; in setTestCaCertificate()
153 LOG(WARNING) << "Setting test CA certificate. This should never happen in production code."; in initialize()
155 LOG(ERROR) << "Failed to set test CA certificate"; in initialize()
160 LOG(ERROR) << "Failed to load CA cert dir: " << kCaCertDir; in initialize()
192 LOG(ERROR) << "Internal error: context is null in sslConnect"; in sslConnect()
196 LOG(ERROR) << "Failed to set minimum TLS version"; in sslConnect()
211 LOG(VERBOSE) << "Checking DNS over TLS hostname = " << mServer.name.c_str(); in sslConnect()
213 LOG(ERROR) << "Failed to set SNI to " << mServer.name; in sslConnect()
218 LOG(ERROR) << "Failed to set verify host param to " << mServer.name; in sslConnect()
227 LOG(DEBUG) << "Setting session"; in sslConnect()
230 LOG(DEBUG) << "No session available"; in sslConnect()
234 LOG(DEBUG) << " Calling SSL_connect with mark 0x" << std::hex << mMark; in sslConnect()
236 LOG(DEBUG) << " SSL_connect returned " << ret << " with mark 0x" << std::hex << mMark; in sslConnect()
267 LOG(DEBUG) << mMark << " handshake complete"; in sslConnect()
281 LOG(DEBUG) << mMark << " Writing " << buffer.size() << " bytes"; in sslWrite()
298 LOG(DEBUG) << "SSL_write error " << ssl_err; in sslWrite()
303 LOG(DEBUG) << mMark << " Wrote " << buffer.size() << " bytes"; in sslWrite()
335 LOG(DEBUG) << "Idle timeout"; in loop()
339 LOG(DEBUG) << "Poll failed: " << errno; in loop()
344 LOG(DEBUG) << "SSL remote close or read error."; in loop()
352 LOG(WARNING) << "Error during eventfd read"; in loop()
355 LOG(WARNING) << "eventfd closed; disconnecting"; in loop()
358 LOG(ERROR) << "Int size mismatch: " << res << " != " << sizeof(num_queries); in loop()
361 LOG(DEBUG) << "Negative eventfd read indicates destructor-initiated shutdown"; in loop()
378 LOG(DEBUG) << "Disconnecting"; in loop()
380 LOG(DEBUG) << "Calling onClosed"; in loop()
382 LOG(DEBUG) << "Ending loop"; in loop()
386 LOG(DEBUG) << "Destructor"; in ~DnsTlsSocket()
393 LOG(ERROR) << "Violation of re-entrance precondition"; in ~DnsTlsSocket()
398 LOG(DEBUG) << "Waiting for loop thread to terminate"; in ~DnsTlsSocket()
402 LOG(DEBUG) << "Destructor completed"; in ~DnsTlsSocket()
433 LOG(ERROR) << "eventfd is not initialized"; in incrementEventFd()
438 LOG(ERROR) << "Failed to increment eventfd by " << count; in incrementEventFd()
451 LOG(WARNING) << "SSL closed with " << remaining << " of " << buffer.size() in sslRead()
465 LOG(DEBUG) << "SSL_read error " << ssl_err; in sslRead()
480 LOG(DEBUG) << mMark << " SSL_write complete"; in sendQuery()
485 LOG(DEBUG) << "reading response"; in readResponse()
489 LOG(DEBUG) << "Ignoring spurious wakeup from server"; in readResponse()
499 LOG(DEBUG) << mMark << " Expecting response of size " << responseSize; in readResponse()
502 LOG(DEBUG) << mMark << " Failed to read " << response.size() << " bytes"; in readResponse()
510 LOG(DEBUG) << mMark << " Failed to discard " << discard.size() << " bytes"; in readResponse()
515 LOG(DEBUG) << mMark << " SSL_read complete"; in readResponse()