<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:24:34 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-10989] --quiet flag does not suppress logged info messages for tools</title>
                <link>https://jira.mongodb.org/browse/SERVER-10989</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The --quiet flag suppresses some informational messages, such as those thrown from tool.cpp:&lt;/p&gt;

&lt;p&gt;&quot;connected to: 127.0.0.1&quot;&lt;br/&gt;
&quot;file out.bson empty, skipping&quot;&lt;/p&gt;

&lt;p&gt;Some tools seem to also throw informational messages using the log() function.  These messages are not suppressed by the --quiet flag.  In some cases, these messages are going to stdout when data is also being written to that stream, and could corrupt the data.&lt;/p&gt;

&lt;p&gt;mongodump --&amp;gt; with --quiet, this message goes to stdout:&lt;br/&gt;
&quot;2013-10-01T11:05:29.223-0400 DATABASE: digg	 to 	dump/digg&quot;&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/src/mongo/tools/dump.cpp#L193&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/master/src/mongo/tools/dump.cpp#L193&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;mongorestore --&amp;gt; with --quiet, these messages go to stdout:&lt;br/&gt;
2013-10-01T11:23:53.629-0400 out.bson&lt;br/&gt;
2013-10-01T11:23:53.629-0400 	going into namespace &lt;span class=&quot;error&quot;&gt;&amp;#91;digg.out&amp;#93;&lt;/span&gt;&lt;br/&gt;
2013-10-01T11:23:53.629-0400 out.metadata.json not found. Skipping.&lt;/p&gt;

&lt;p&gt;mongoimport --&amp;gt; with --quiet, these messages go to stdout&lt;br/&gt;
2013-10-01T11:47:36.204-0400 check 0 0&lt;br/&gt;
2013-10-01T11:47:36.205-0400 imported 0 objects&lt;/p&gt;

&lt;p&gt;Also related is a problem with mongofiles.  Mongofiles seems to output some informational messages using cout.  &lt;/p&gt;

&lt;p&gt;mongofiles --&amp;gt; with --quiet, these messages go to stdout&lt;br/&gt;
added file: &lt;/p&gt;
{ _id: ObjectId(&apos;524d998f2c42a74c3cc1d84e&apos;), filename: &quot;mongofile.txt&quot;, chunkSize: 262144, uploadDate: new Date(1380817295498), md5: &quot;d41d8cd98f00b204e9800998ecf8427e&quot;, length: 0 }
&lt;p&gt;done!&lt;/p&gt;</description>
                <environment></environment>
        <key id="92275">SERVER-10989</key>
            <summary>--quiet flag does not suppress logged info messages for tools</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="sverch">Shaun Verch</assignee>
                                    <reporter username="samantha.ritter@mongodb.com">Samantha Ritter</reporter>
                        <labels>
                            <label>26qa</label>
                    </labels>
                <created>Tue, 1 Oct 2013 16:00:42 +0000</created>
                <updated>Mon, 11 Jul 2016 17:39:55 +0000</updated>
                            <resolved>Wed, 23 Oct 2013 16:46:53 +0000</resolved>
                                    <version>2.5.3</version>
                                    <fixVersion>2.5.3</fixVersion>
                                    <component>Tools</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="445414" author="sverch" created="Wed, 23 Oct 2013 16:46:53 +0000"  >&lt;p&gt;Should be resolved as part of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-10885&quot; title=&quot;mongodump produces invalid bson when dumping to stdout in verbose mode&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-10885&quot;&gt;&lt;del&gt;SERVER-10885&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-10886&quot; title=&quot;tools with direct db access can produce corrupted output when dumping to stdout in &amp;quot;offline&amp;quot; mode (with --dbpath)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-10886&quot;&gt;&lt;del&gt;SERVER-10886&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="434116" author="samantha.ritter@10gen.com" created="Tue, 1 Oct 2013 19:04:32 +0000"  >&lt;p&gt;Part of this issue is covered by &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-10886&quot; title=&quot;tools with direct db access can produce corrupted output when dumping to stdout in &amp;quot;offline&amp;quot; mode (with --dbpath)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-10886&quot;&gt;&lt;del&gt;SERVER-10886&lt;/del&gt;&lt;/a&gt;.  I think there are two separate problems at hand:&lt;/p&gt;

&lt;p&gt;1. Informational messages are sometimes going to stdout instead of stderr, which risks corruption of data, but is covered by &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-10886&quot; title=&quot;tools with direct db access can produce corrupted output when dumping to stdout in &amp;quot;offline&amp;quot; mode (with --dbpath)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-10886&quot;&gt;&lt;del&gt;SERVER-10886&lt;/del&gt;&lt;/a&gt;.  &lt;br/&gt;
2. Informational messages are not all suppressed by the --quiet flag.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="91413">SERVER-10885</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="91416">SERVER-10886</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 23 Oct 2013 16:46:53 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 17 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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 17 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>samantha.ritter@mongodb.com</customfieldvalue>
            <customfieldvalue>sverch</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrme1z:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>84459</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_10166" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Tests Written</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10154"><![CDATA[Complete]]></customfieldvalue>

                        </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|hspa1r:</customfieldvalue>

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