<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:54:32 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-564] mongodump should be more quiet</title>
                <link>https://jira.mongodb.org/browse/SERVER-564</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;mongodump currently outputs a lot of things to stdout, which can be easily redirected when used in scripts.&lt;/p&gt;

&lt;p&gt;The message  &quot;connected to: 127.0.0.1&quot; is sent to stderr, which doesn&apos;t really make sense, because it&apos;s not an error.&lt;/p&gt;

&lt;p&gt;I don&apos;t believe anything other than errors should be sent to stderr, especially from a tool that&apos;s supposed to be used mostly in automated environments.&lt;br/&gt;
This would cause sysadmins to:&lt;/p&gt;

&lt;p&gt;1. Send everything to /dev/null, which would cause them to not know if anything breaks&lt;br/&gt;
2. Write output handling scripts to inspect the stderr output, which is an inconvenience&lt;/p&gt;

&lt;p&gt;As far as I understand now, those messages are common to all the tools, and something might break if this gets changed.&lt;br/&gt;
A possible workaround would be to provide a `--quiet` switch, which would not output such messages.&lt;/p&gt;</description>
                <environment>all?</environment>
        <key id="11176">SERVER-564</key>
            <summary>mongodump should be more quiet</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="9">Done</resolution>
                                        <assignee username="eliot">Eliot Horowitz</assignee>
                                    <reporter username="dabreaka">Slavi Pantaleev</reporter>
                        <labels>
                    </labels>
                <created>Fri, 22 Jan 2010 12:07:26 +0000</created>
                <updated>Tue, 12 Jul 2016 00:30:01 +0000</updated>
                            <resolved>Thu, 15 Apr 2010 12:17:52 +0000</resolved>
                                    <version>1.3.2</version>
                                    <fixVersion>1.5.1</fixVersion>
                                    <component>Tools</component>
                                        <votes>3</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="272818" author="dan@10gen.com" created="Fri, 22 Feb 2013 05:38:24 +0000"  >&lt;p&gt;There was a regression in the 1.8.x series and fixed again in 2.0.x here: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4169&quot; title=&quot;mongodump should be more quiet&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4169&quot;&gt;&lt;del&gt;SERVER-4169&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="272653" author="mitar" created="Fri, 22 Feb 2013 00:46:24 +0000"  >&lt;p&gt;mongodump 1.8.1. It is a bit old, but it is written above that it was fixed in 1.5.1.&lt;/p&gt;</comment>
                            <comment id="272593" author="dan@10gen.com" created="Thu, 21 Feb 2013 23:18:53 +0000"  >&lt;p&gt;which version are you using and please include your exact command line.  i cannot reproduce this behavior in 2.0.4, 2.2.3 or 2.4.0-rc0&lt;/p&gt;</comment>
                            <comment id="262751" author="mitar" created="Mon, 11 Feb 2013 00:50:21 +0000"  >&lt;p&gt;Exactly what is it written about:&lt;/p&gt;

&lt;p&gt;The message &quot;connected to: 127.0.0.1&quot; is sent to stderr, which doesn&apos;t really make sense, because it&apos;s not an error.&lt;/p&gt;

&lt;p&gt;So using -o to redirect the output and using &amp;gt;/dev/null to redirect stdout output (there really should be a quiet switch), I still get &quot;connect to&quot; on stderr, even if there is no error. So running mongodump in cron is not nice, because you are getting e-mails even if there are no errors.&lt;/p&gt;</comment>
                            <comment id="262748" author="eliot" created="Mon, 11 Feb 2013 00:44:56 +0000"  >&lt;p&gt;Mitar - can you open a new ticket what what you&apos;re seeing?&lt;/p&gt;</comment>
                            <comment id="262366" author="mitar" created="Sun, 10 Feb 2013 09:47:25 +0000"  >&lt;p&gt;Yes, please reopen.&lt;/p&gt;</comment>
                            <comment id="63252" author="shtylman" created="Fri, 28 Oct 2011 03:58:44 +0000"  >&lt;p&gt;This is no longer fixed:&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/tools/dump.cpp#L40&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/master/tools/dump.cpp#L40&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This line passes &apos;false&apos; for the last constructor argument to Tool and thus stderr is used once again.&lt;/p&gt;</comment>
                            <comment id="13667" author="auto" created="Thu, 15 Apr 2010 12:17:55 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;erh&apos;, &apos;name&apos;: &apos;Eliot Horowitz&apos;, &apos;email&apos;: &apos;eliot@10gen.com&apos;}
&lt;p&gt;Message: clean up stderr vs stdout for mongodump &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-564&quot; title=&quot;mongodump should be more quiet&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-564&quot;&gt;&lt;del&gt;SERVER-564&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/8e50585bcf216a4210162f0a3b72aa2a38e61228&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/8e50585bcf216a4210162f0a3b72aa2a38e61228&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="13586" author="thickpaddy" created="Tue, 13 Apr 2010 07:58:28 +0000"  >&lt;p&gt;I modified tool.cpp (see attached patch) to send a few seemingly non-error outputs to stdout rather than stderr&lt;/p&gt;

&lt;p&gt;Possibly not the right thing to do, but while this issue is outstanding, it&apos;s working for us.&lt;/p&gt;

&lt;p&gt;We&apos;re running 1.5.0 btw&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="24190">SERVER-4169</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="10196" name="tool.cpp.patch" size="769" author="thickpaddy" created="Tue, 13 Apr 2010 07:58:28 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 13 Apr 2010 07:58:28 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 51 weeks, 5 days 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, 51 weeks, 5 days 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_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>dan@mongodb.com</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>thickpaddy</customfieldvalue>
            <customfieldvalue>mitar</customfieldvalue>
            <customfieldvalue>shtylman</customfieldvalue>
            <customfieldvalue>dabreaka</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpsl3:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>22371</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|hsmnsf:</customfieldvalue>

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