<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:48:48 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>[SERVER-38385] --quiet mongo shell option does not silence output when connecting to Replica Set</title>
                <link>https://jira.mongodb.org/browse/SERVER-38385</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;When execution a mongo shell script with the --quite option like this&lt;/p&gt;

&lt;p&gt;&amp;gt; mongo --nodb --quiet myScript.js&lt;/p&gt;

&lt;p&gt;the connection output is hidden when using the following connection commands in the script&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;// connect to database in script via&lt;/tt&gt;&lt;br/&gt;
{{ &lt;font color=&quot;#0000ff&quot;&gt;var&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt; conn &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;=&lt;/font&gt; &lt;font color=&quot;#0000ff&quot;&gt;new&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt; Mongo(&lt;/font&gt;&lt;font color=&quot;#a31515&quot;&gt;&quot;myHost:27017&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;);&lt;/font&gt;}}&lt;br/&gt;
{{ &lt;font color=&quot;#0000ff&quot;&gt;var&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt; db &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt; conn.getDB(&lt;/font&gt;&lt;font color=&quot;#a31515&quot;&gt;&quot;myDb&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;);&lt;/font&gt;}}&lt;br/&gt;
{{ &#160;}}&lt;br/&gt;
{{ &lt;font color=&quot;#000000&quot;&gt;Unfortunately the (enhanced) output is not hidden when connecting to a Replica Set via&lt;/font&gt;}}&lt;br/&gt;
{{ &#160;}}&lt;br/&gt;
{{ &lt;font color=&quot;#0000ff&quot;&gt;var&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt; conn &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;=&lt;/font&gt; &lt;font color=&quot;#0000ff&quot;&gt;new&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt; Mongo(&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&quot;mongodb://myHost01:27017,myHost02:27017,myHost03:27017/myDb?replicaSet=myDb-rs&lt;/font&gt;);}}&lt;br/&gt;
{{ var&lt;font color=&quot;#000000&quot;&gt; db &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt; conn.getDB(&lt;/font&gt;&lt;font color=&quot;#a31515&quot;&gt;&quot;myDb&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;);&lt;/font&gt;}}&lt;br/&gt;
{{ &lt;font color=&quot;#000000&quot;&gt;or &lt;/font&gt;}}&lt;br/&gt;
{{ &lt;font color=&quot;#0000ff&quot;&gt;var&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt; db &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt; connect(&lt;/font&gt;&lt;font color=&quot;#a31515&quot;&gt;&quot;mongodb://myHost01:27017,myHost02:27017,myHost03:27017/myDb?replicaSet=myDb-rs&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;);&lt;/font&gt;}}&lt;br/&gt;
{{ &#160;}}&lt;br/&gt;
{{ I would have expected that all the output that is done via connecting to a Replica Set would be hidden too.}}&lt;/p&gt;</description>
                <environment>Linux</environment>
        <key id="642751">SERVER-38385</key>
            <summary>--quiet mongo shell option does not silence output when connecting to Replica Set</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="3">Duplicate</resolution>
                                        <assignee username="daniel.hatcher@mongodb.com">Danny Hatcher</assignee>
                                    <reporter username="fvbetteraey@web.de">Franz van Betteraey</reporter>
                        <labels>
                            <label>mongo</label>
                            <label>shell</label>
                    </labels>
                <created>Tue, 4 Dec 2018 15:29:50 +0000</created>
                <updated>Fri, 3 Jun 2022 13:49:52 +0000</updated>
                            <resolved>Wed, 5 Dec 2018 21:10:45 +0000</resolved>
                                    <version>3.4.10</version>
                                                    <component>Shell</component>
                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="2081830" author="daniel.hatcher" created="Wed, 5 Dec 2018 21:10:30 +0000"  >&lt;p&gt;Hello Franz,&lt;/p&gt;

&lt;p&gt;Thank you for your report. This issue is being tracked in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-27159&quot; title=&quot;shell logs output of ReplicaSetMonitorWatcher with --quiet &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-27159&quot;&gt;&lt;del&gt;SERVER-27159&lt;/del&gt;&lt;/a&gt;. Please follow that ticket for any updates as I will now close this as a duplicate.&lt;/p&gt;

&lt;p&gt;Danny&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="333663">SERVER-27159</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 5 Dec 2018 21:10:30 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 10 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 10 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>daniel.hatcher@mongodb.com</customfieldvalue>
            <customfieldvalue>fvbetteraey@web.de</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hueed3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hu4h9z:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hue0mf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>