@@ -868,6 +868,7 @@ Core Options
868868 allowInvalidHostnames: <boolean>
869869 disabledProtocols: <string>
870870 FIPSMode: <boolean>
871+ logVersions: <string>
871872 compression:
872873 compressors: <string>
873874
@@ -909,12 +910,16 @@ Core Options
909910 may attach :binary:`~bin.mongos` or :binary:`~bin.mongod` to any interface. To bind to multiple
910911 addresses, enter a list of comma-separated values.
911912
912- .. example:: ``localhost,/tmp/mongod.sock``
913+ .. example::
914+
915+ ``localhost,/tmp/mongod.sock``
913916
914917 You can specify both IPv4 and IPv6 addresses, or hostnames that
915918 resolve to an IPv4 or IPv6 address.
916919
917- .. example:: ``localhost, 2001:0DB8:e132:ba26:0d5c:2774:e7f9:d513``
920+ .. example::
921+
922+ ``localhost, 2001:0DB8:e132:ba26:0d5c:2774:e7f9:d513``
918923
919924 .. note::
920925
@@ -929,7 +934,9 @@ Core Options
929934 `zone index <https://en.wikipedia.org/wiki/IPv6_address#Scoped_literal_IPv6_addresses_(with_zone_index)>`_
930935 to that address (i.e. ``fe80::<address>%<adapter-name>``).
931936
932- .. example:: ``localhost,fe80::a00:27ff:fee0:1fcf%enp0s3``
937+ .. example::
938+
939+ ``localhost,fe80::a00:27ff:fee0:1fcf%enp0s3``
933940
934941 .. include:: /includes/tip-hostnames.rst
935942
@@ -1150,6 +1157,7 @@ Core Options
11501157 allowInvalidHostnames: <boolean>
11511158 disabledProtocols: <string>
11521159 FIPSMode: <boolean>
1160+ logVersions: <string>
11531161
11541162.. setting:: net.tls.mode
11551163
@@ -1611,6 +1619,23 @@ Core Options
16111619
16121620 .. include:: /includes/note-fips-is-enterprise-only.rst
16131621
1622+ .. setting:: net.tls.logVersions
1623+
1624+ *Type*: string
1625+
1626+ Instructs :binary:`~bin.mongos` or :binary:`~bin.mongod` to log a
1627+ message when a client connects using a specified TLS version.
1628+
1629+ Specify either a single TLS version or a comma-separated list of
1630+ multiple TLS versions.
1631+
1632+ .. example::
1633+
1634+ To instruct :binary:`~bin.mongos` or :binary:`~bin.mongod` to
1635+ log a message when a client connects using either TLS 1.2 or
1636+ TLS 1.3, set :setting:`net.tls.logVersions` to
1637+ ``"TLS1_2,TLS1_3"``.
1638+
16141639
16151640.. _net-ssl-conf-options:
16161641
0 commit comments