Lines Matching refs:LOG
74 LOG(DEBUG) << mMark << " connecting TCP socket"; in tcpConnect()
102 LOG(WARNING) << "Failed to enable TFO: " << tfo.msg(); in tcpConnect()
125 LOG(ERROR) << "Failed to read cert"; in setTestCaCertificate()
131 LOG(ERROR) << "Failed to add cert"; in setTestCaCertificate()
157 LOG(WARNING) << "Setting test CA certificate. This should never happen in production code."; in initialize()
159 LOG(ERROR) << "Failed to set test CA certificate"; in initialize()
164 LOG(ERROR) << "Failed to load CA cert dir: " << kCaCertDir; in initialize()
184 LOG(DEBUG) << "DnsTlsSocket is initialized with { mConnectTimeoutMs: " << mConnectTimeoutMs in initialize()
195 LOG(ERROR) << "Calling startHandshake in unexpected state " << static_cast<int>(mState); in startHandshake()
203 LOG(WARNING) << "TCP Handshake failed: " << status.code(); in startHandshake()
208 LOG(WARNING) << "TLS Handshake failed"; in startHandshake()
221 LOG(ERROR) << "Internal error: context is null in sslConnect"; in prepareForSslConnect()
225 LOG(ERROR) << "Failed to set minimum TLS version"; in prepareForSslConnect()
240 LOG(VERBOSE) << "Checking DNS over TLS hostname = " << mServer.name.c_str(); in prepareForSslConnect()
242 LOG(ERROR) << "Failed to set SNI to " << mServer.name; in prepareForSslConnect()
247 LOG(ERROR) << "Failed to set verify host param to " << mServer.name; in prepareForSslConnect()
256 LOG(DEBUG) << "Setting session"; in prepareForSslConnect()
259 LOG(DEBUG) << "No session available"; in prepareForSslConnect()
272 LOG(DEBUG) << " Calling SSL_connect with mark 0x" << std::hex << mMark; in sslConnect()
274 LOG(DEBUG) << " SSL_connect returned " << ret << " with mark 0x" << std::hex << mMark; in sslConnect()
305 LOG(DEBUG) << mMark << " handshake complete"; in sslConnect()
317 LOG(DEBUG) << " Calling SSL_connect with mark 0x" << std::hex << mMark; in sslConnectV2()
319 LOG(DEBUG) << " SSL_connect returned " << ret << " with mark 0x" << std::hex << mMark; in sslConnectV2()
349 LOG(WARNING) << "Got shutdown request during handshake"; in sslConnectV2()
353 LOG(WARNING) << "Got POLLERR on SSLFD during handshake"; in sslConnectV2()
358 LOG(DEBUG) << mMark << " handshake complete"; in sslConnectV2()
372 LOG(DEBUG) << mMark << " Writing " << buffer.size() << " bytes"; in sslWrite()
389 LOG(DEBUG) << "SSL_write error " << ssl_err; in sslWrite()
394 LOG(DEBUG) << mMark << " Wrote " << buffer.size() << " bytes"; in sslWrite()
407 LOG(WARNING) << "TCP Handshake failed: " << status.code(); in loop()
413 LOG(WARNING) << "TLS Handshake failed"; in loop()
418 LOG(DEBUG) << "Handshaking succeeded"; in loop()
445 LOG(DEBUG) << "Idle timeout"; in loop()
461 LOG(DEBUG) << "SSL remote close or read error."; in loop()
474 LOG(WARNING) << "Error during eventfd read"; in loop()
477 LOG(WARNING) << "eventfd closed; disconnecting"; in loop()
480 LOG(ERROR) << "Int size mismatch: " << res << " != " << sizeof(num_queries); in loop()
483 LOG(DEBUG) << "Negative eventfd read indicates destructor-initiated shutdown"; in loop()
500 LOG(DEBUG) << "Disconnecting"; in loop()
502 LOG(DEBUG) << "Calling onClosed"; in loop()
505 LOG(DEBUG) << "Ending loop"; in loop()
509 LOG(DEBUG) << "Destructor"; in ~DnsTlsSocket()
516 LOG(ERROR) << "Violation of re-entrance precondition"; in ~DnsTlsSocket()
521 LOG(DEBUG) << "Waiting for loop thread to terminate"; in ~DnsTlsSocket()
525 LOG(DEBUG) << "Destructor completed"; in ~DnsTlsSocket()
561 LOG(ERROR) << "eventfd is not initialized"; in incrementEventFd()
566 LOG(ERROR) << "Failed to increment eventfd by " << count; in incrementEventFd()
574 LOG(WARNING) << "BUG: transitioning from an unexpected state " << static_cast<int>(mState) in transitionState()
588 LOG(WARNING) << "SSL closed with " << remaining << " of " << buffer.size() in sslRead()
602 LOG(DEBUG) << "SSL_read error " << ssl_err; in sslRead()
617 LOG(DEBUG) << mMark << " SSL_write complete"; in sendQuery()
622 LOG(DEBUG) << "reading response"; in readResponse()
626 LOG(DEBUG) << "Ignoring spurious wakeup from server"; in readResponse()
636 LOG(DEBUG) << mMark << " Expecting response of size " << responseSize; in readResponse()
639 LOG(DEBUG) << mMark << " Failed to read " << response.size() << " bytes"; in readResponse()
647 LOG(DEBUG) << mMark << " Failed to discard " << discard.size() << " bytes"; in readResponse()
652 LOG(DEBUG) << mMark << " SSL_read complete"; in readResponse()