<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:51:42 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-190] Remove System.out.println and use logging where we can</title>
                <link>https://jira.mongodb.org/browse/JAVA-190</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;Problem:&lt;/p&gt;

&lt;p&gt;Java driver has a number of System.out.println commands. These should be logged where appropriate through the logger&lt;/p&gt;

&lt;p&gt;Reproduce:&lt;/p&gt;

&lt;p&gt;shell&amp;gt;  find . -name &quot;*.java&quot; -exec grep -H System.out {} \;&lt;/p&gt;

&lt;p&gt;./src/main/com/mongodb/ReplicaSetStatus.java:            System.out.println( _all.get&lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/information.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt; );&lt;br/&gt;
./src/main/com/mongodb/ReplicaSetStatus.java:        System.out.println( status.ensureMaster()._addr );&lt;br/&gt;
./src/main/com/mongodb/ReplicaSetStatus.java:            System.out.println( status.ready() );&lt;br/&gt;
./src/main/com/mongodb/ReplicaSetStatus.java:                System.out.println( &quot;master: &quot; + status.getMaster() + &quot;\t secondary: &quot; + status.getASecondary() );&lt;br/&gt;
./src/main/com/mongodb/ReplicaSetStatus.java:            System.out.println( &quot;-----------------------&quot; );&lt;br/&gt;
./src/main/com/mongodb/util/SimplePool.java:        System.out.println( buf );&lt;br/&gt;
./src/main/com/mongodb/util/SimplePool.java:            System.out.println( &quot;SimplePool &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;quot; + _name + &amp;quot;&amp;#93;&lt;/span&gt; : &quot; + msg );&lt;br/&gt;
./src/main/org/bson/BSONEncoder.java:        if ( DEBUG ) System.out.println( &quot;putObject : &quot; + name + &quot; &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;quot; + o.getClass() + &amp;quot;&amp;#93;&lt;/span&gt;&quot; + &quot; # keys &quot; + o.keySet().size() );&lt;br/&gt;
./src/main/org/bson/BSONEncoder.java:        if ( DEBUG ) System.out.println( &quot;\t put thing : &quot; + name );&lt;/p&gt;

&lt;p&gt;Business Case:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;user expereince&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="13381">JAVA-190</key>
            <summary>Remove System.out.println and use logging where we can</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="eliot">Eliot Horowitz</assignee>
                                    <reporter username="alvin">Alvin Richards</reporter>
                        <labels>
                    </labels>
                <created>Thu, 14 Oct 2010 16:26:07 +0000</created>
                <updated>Thu, 14 Oct 2010 17:49:25 +0000</updated>
                            <resolved>Thu, 14 Oct 2010 17:49:25 +0000</resolved>
                                    <version>2.2</version>
                                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="19190" author="eliot" created="Thu, 14 Oct 2010 17:49:25 +0000"  >&lt;p&gt;these are all meant to be System.out explicitly and never happen under normal usage.&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|hrhcqn:</customfieldvalue>

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