<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:14: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-27311] 3.2.10 js client prints trace messages in output of js script</title>
                <link>https://jira.mongodb.org/browse/SERVER-27311</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;On 3.2.10 when running a script from the JS &lt;/p&gt;

&lt;p&gt;E.g. If I run db.printReplicationInfo() in test.js&lt;br/&gt;
mongo --ssl --sslAllowInvalidCertificates --port 27017  --quiet admin -u admin -p &amp;lt;&amp;gt; test.js&lt;br/&gt;
&lt;b&gt;2016-12-07T06:06:45.892+0000 W NETWORK  &lt;span class=&quot;error&quot;&gt;&amp;#91;thread1&amp;#93;&lt;/span&gt; The server certificate does not match the host name 127.0.0.1&lt;/b&gt;&lt;br/&gt;
configured oplog size:   990MB&lt;br/&gt;
log length start to end: 75783secs (21.05hrs)&lt;br/&gt;
oplog first event time:  Mon Dec 05 2016 12:03:29 GMT+0000 (UTC)&lt;br/&gt;
oplog last event time:   Tue Dec 06 2016 09:06:32 GMT+0000 (UTC)&lt;br/&gt;
now:                     Wed Dec 07 2016 06:06:45 GMT+0000 (UTC)&lt;/p&gt;


&lt;p&gt;Looks like when you have a self signed certificate it prints this to standard output as the first line.&lt;/p&gt;</description>
                <environment></environment>
        <key id="336901">SERVER-27311</key>
            <summary>3.2.10 js client prints trace messages in output of js script</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="3">Duplicate</resolution>
                                        <assignee username="andrew.morrow@mongodb.com">Andrew Morrow</assignee>
                                    <reporter username="dharshanr@scalegrid.net">Dharshan Rangegowda</reporter>
                        <labels>
                    </labels>
                <created>Wed, 7 Dec 2016 06:09:06 +0000</created>
                <updated>Tue, 3 Jan 2017 17:43:34 +0000</updated>
                            <resolved>Tue, 3 Jan 2017 17:43:34 +0000</resolved>
                                                                    <component>Shell</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="1468358" author="acm" created="Tue, 3 Jan 2017 17:43:34 +0000"  >&lt;p&gt;Please follow &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-18643&quot; title=&quot;Output redirection from mongo shell&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-18643&quot;&gt;&lt;del&gt;SERVER-18643&lt;/del&gt;&lt;/a&gt; to get updates on adding support for the shell to log to stderr by default.&lt;/p&gt;</comment>
                            <comment id="1468355" author="acm" created="Tue, 3 Jan 2017 17:42:30 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dharshanr%40scalegrid.net&quot; class=&quot;user-hover&quot; rel=&quot;dharshanr@scalegrid.net&quot;&gt;dharshanr@scalegrid.net&lt;/a&gt; - Thanks for confirming. I&apos;m going to close this ticket as a duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-18643&quot; title=&quot;Output redirection from mongo shell&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-18643&quot;&gt;&lt;del&gt;SERVER-18643&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="1468351" author="dharshanr@scalegrid.net" created="Tue, 3 Jan 2017 17:38:58 +0000"  >&lt;p&gt;Hi&lt;/p&gt;

&lt;p&gt;In my opinion trace that is printed to the screen is not relevant and should not be printed out. Redirecting the trace to the stderr will work.&lt;/p&gt;</comment>
                            <comment id="1468317" author="acm" created="Tue, 3 Jan 2017 17:06:39 +0000"  >&lt;p&gt;I believe this is essentially a duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-18643&quot; title=&quot;Output redirection from mongo shell&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-18643&quot;&gt;&lt;del&gt;SERVER-18643&lt;/del&gt;&lt;/a&gt; (or one of the related tickets), that is asking for the shell output to be issued to stderr, rather than stdout. Would that solution help in your use case? It would allow you to redirect the stderr output to /dev/null or another file, so that it wasn&apos;t intermixed with the normal shell output, or to redirect stderr to stdout, if you wanted to see it inline.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="206279">SERVER-18643</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>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</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>Tue, 3 Jan 2017 17:06:39 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        7 years, 6 weeks, 1 day 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>andrew.morrow@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            7 years, 6 weeks, 1 day ago
                        </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>andrew.morrow@mongodb.com</customfieldvalue>
            <customfieldvalue>dharshanr@scalegrid.net</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrjp87:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrbsw7:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1380">Platforms 2017-01-23</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|hrlblb:</customfieldvalue>

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