diff options
author | Shreyas Kalyan <shreyas.kalyan@10gen.com> | 2020-03-18 22:26:28 -0700 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-04-01 19:30:01 +0000 |
commit | af7f1e3a778a201a4bd6a372eb441b0f73b9c2ba (patch) | |
tree | de17d2096aac9ef7754127f95966e0ee515a94a2 /src/mongo/util/net/sockaddr.cpp | |
parent | 120555f4df938ff61110a63eeccadf9c3068d24b (diff) | |
download | mongo-af7f1e3a778a201a4bd6a372eb441b0f73b9c2ba.tar.gz |
SERVER-46950 Add message-strings for TLS
Diffstat (limited to 'src/mongo/util/net/sockaddr.cpp')
-rw-r--r-- | src/mongo/util/net/sockaddr.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mongo/util/net/sockaddr.cpp b/src/mongo/util/net/sockaddr.cpp index 962f71aed14..33b3e50b865 100644 --- a/src/mongo/util/net/sockaddr.cpp +++ b/src/mongo/util/net/sockaddr.cpp @@ -158,10 +158,10 @@ SockAddr::SockAddr(StringData target, int port, sa_family_t familyHint) if (_hostOrIp != "0.0.0.0") { // don't log if this as it is a // CRT construction and log() may not work yet. LOGV2(23175, - "getaddrinfo(\"{host}\") failed: {reason}", - "getaddrinfo failed", + "getaddrinfo(\"{host}\") failed: {error}", + "Command getaddrinfo failed", "host"_attr = _hostOrIp, - "reason"_attr = getAddrInfoStrError(addrErr.err)); + "error"_attr = getAddrInfoStrError(addrErr.err)); _isValid = false; return; } @@ -191,10 +191,10 @@ std::vector<SockAddr> SockAddr::createAll(StringData target, int port, sa_family auto addrErr = resolveAddrInfo(hostOrIp, port, familyHint); if (addrErr.err) { LOGV2(23176, - "getaddrinfo(\"{host}\") failed: {reason}", - "getaddrinfo failed", + "getaddrinfo(\"{host}\") failed: {error}", + "getaddrinfo invocation failed", "host"_attr = hostOrIp, - "reason"_attr = getAddrInfoStrError(addrErr.err)); + "error"_attr = getAddrInfoStrError(addrErr.err)); return {}; } |