<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:53:33 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[JAVA-986] toString of MongoClientOptions is inadequate</title>
                <link>https://jira.mongodb.org/browse/JAVA-986</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;The toString of a MongoClient does a really good job of documenting the Options that it was created with like&lt;/p&gt;

&lt;p&gt;    Mongo{authority=MongoAuthority{type=Set, serverAddresses=&lt;span class=&quot;error&quot;&gt;&amp;#91;bobk-mbp.local/10.78.4.164:27017, bobk-mbp.local/10.78.4.164:27018&amp;#93;&lt;/span&gt;, credentials={credentials={}}}, options=MongoOptions{description=&apos;null&apos;, connectionsPerHost=10, threadsAllowedToBlockForConnectionMultiplier=5, maxWaitTime=2000, connectTimeout=2000, socketTimeout=2000, socketKeepAlive=false, autoConnectRetry=false, maxAutoConnectRetryTime=0, slaveOk=false, readPreference=primary, dbDecoderFactory=DefaultDBDecoder.DefaultFactory, dbEncoderFactory=DefaultDBEncoder.DefaultFactory, safe=false, w=0, wtimeout=0, fsync=false, j=false, socketFactory=javax.net.DefaultSocketFactory@446d0fff, cursorFinalizerEnabled=true, writeConcern=WriteConcern &lt;/p&gt;
{ &quot;getlasterror&quot; : 1}
&lt;p&gt; / (Continue Inserting on Errors? false), alwaysUseMBeans=false}}&lt;/p&gt;

&lt;p&gt;The MongoClientOptions object fails to do the same job making my logging unable to pro-actively log the options I am about to open a Mongo connection with:&lt;/p&gt;

&lt;p&gt;    com.mongodb.MongoClientOptions@af9cc855&lt;/p&gt;

&lt;p&gt;I would really like to see the toString of MongoClientOptions produce a toString identical to what the MongoClient&apos;s toString produces as options=MongoOptions.&lt;/p&gt;</description>
                <environment></environment>
        <key id="92495">JAVA-986</key>
            <summary>toString of MongoClientOptions is inadequate</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="bob_kuhar">Bob Kuhar</reporter>
                        <labels>
                    </labels>
                <created>Wed, 2 Oct 2013 23:22:37 +0000</created>
                <updated>Thu, 3 Apr 2014 15:21:47 +0000</updated>
                            <resolved>Fri, 15 Nov 2013 18:42:35 +0000</resolved>
                                                    <fixVersion>2.12.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="506341" author="jeff.yemin" created="Thu, 27 Feb 2014 14:59:24 +0000"  >&lt;p&gt;Hi Bob,&lt;/p&gt;

&lt;p&gt;Would you mind testing the fix for this issue in 2.12.0-rc0, available either on &lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/releases/tag/r2.12.0-rc0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;github&lt;/a&gt; or &lt;a href=&quot;http://central.maven.org/maven2/org/mongodb/mongo-java-driver/2.12.0-rc0/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Maven Central&lt;/a&gt;?&lt;/p&gt;


&lt;p&gt;Thanks,&lt;br/&gt;
Jeff&lt;/p&gt;</comment>
                            <comment id="457010" author="xgen-internal-githook" created="Fri, 15 Nov 2013 18:42:24 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-986&quot; title=&quot;toString of MongoClientOptions is inadequate&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-986&quot;&gt;&lt;del&gt;JAVA-986&lt;/del&gt;&lt;/a&gt;: Added MongoClientOptions.toString()&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/406014b3e2099ad33e3d11c342b416e2b3413297&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/406014b3e2099ad33e3d11c342b416e2b3413297&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrt9mn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>84648</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>