<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:58:23 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-21776] Move per-operation log lines for queries out of the QUERY log component</title>
                <link>https://jira.mongodb.org/browse/SERVER-21776</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;In order to diagnose query engine-related problems, we would often like users to enable logLevel 1 specifically for the QUERY log component. However, this also causes every query operation to generate a log line. This is much too verbose for many users, which makes collecting query-related diagnostics impossible. In order to fix this, we should consider moving the per-operation debug lines to either an existing log component (kDefault? kCommand?) or a new log component.&lt;/p&gt;</description>
                <environment></environment>
        <key id="242409">SERVER-21776</key>
            <summary>Move per-operation log lines for queries out of the QUERY log component</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="rassi">J Rassi</assignee>
                                    <reporter username="david.storch@mongodb.com">David Storch</reporter>
                        <labels>
                            <label>code-only</label>
                    </labels>
                <created>Fri, 4 Dec 2015 23:18:24 +0000</created>
                <updated>Fri, 18 Nov 2016 01:21:57 +0000</updated>
                            <resolved>Tue, 5 Jan 2016 20:44:03 +0000</resolved>
                                                    <fixVersion>3.0.9</fixVersion>
                    <fixVersion>3.2.3</fixVersion>
                    <fixVersion>3.3.1</fixVersion>
                                    <component>Logging</component>
                    <component>Querying</component>
                                        <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="1149227" author="xgen-internal-githook" created="Wed, 20 Jan 2016 21:38:45 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-21776&quot; title=&quot;Move per-operation log lines for queries out of the QUERY log component&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-21776&quot;&gt;&lt;del&gt;SERVER-21776&lt;/del&gt;&lt;/a&gt; Diagnostic logic for reads/writes should use correct log component&lt;/p&gt;

&lt;p&gt;(cherry picked from commit f210ee304a3b6eeb85a67305e6a97a32e1df3c81)&lt;br/&gt;
Branch: v3.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/20d60d3491908f1ae252fe452300de3978a040c7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/20d60d3491908f1ae252fe452300de3978a040c7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1149216" author="xgen-internal-githook" created="Wed, 20 Jan 2016 21:27:47 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-21776&quot; title=&quot;Move per-operation log lines for queries out of the QUERY log component&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-21776&quot;&gt;&lt;del&gt;SERVER-21776&lt;/del&gt;&lt;/a&gt; Diagnostic logic for reads/writes should use correct log component&lt;/p&gt;

&lt;p&gt;(cherry picked from commit f210ee304a3b6eeb85a67305e6a97a32e1df3c81)&lt;br/&gt;
Branch: v3.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/f0df9f46e6979af1bd922c8ee36c2c35f722b400&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/f0df9f46e6979af1bd922c8ee36c2c35f722b400&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1149207" author="xgen-internal-githook" created="Wed, 20 Jan 2016 21:25:15 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-21776&quot; title=&quot;Move per-operation log lines for queries out of the QUERY log component&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-21776&quot;&gt;&lt;del&gt;SERVER-21776&lt;/del&gt;&lt;/a&gt; Diagnostic logic for reads/writes should use correct log component&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/f210ee304a3b6eeb85a67305e6a97a32e1df3c81&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/f210ee304a3b6eeb85a67305e6a97a32e1df3c81&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1132953" author="xgen-internal-githook" created="Tue, 12 Jan 2016 21:53:14 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-21776&quot; title=&quot;Move per-operation log lines for queries out of the QUERY log component&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-21776&quot;&gt;&lt;del&gt;SERVER-21776&lt;/del&gt;&lt;/a&gt; CachedPlanStage: add post-replan log msgs at log level 1&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 3372811fc15df4592515a57b1cfdbaed2b703735)&lt;br/&gt;
Branch: v3.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c49d0b2c997d85b82be934dd3d9397ab6850f6a0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c49d0b2c997d85b82be934dd3d9397ab6850f6a0&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1132952" author="xgen-internal-githook" created="Tue, 12 Jan 2016 21:53:13 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-21776&quot; title=&quot;Move per-operation log lines for queries out of the QUERY log component&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-21776&quot;&gt;&lt;del&gt;SERVER-21776&lt;/del&gt;&lt;/a&gt; Most instance.cpp log msgs should use kCommand component&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 7834ab9782d90b82ff023c5c886635962e8d5417)&lt;br/&gt;
Branch: v3.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d9e55e98975a077fa815afb19c5abd2d5e75d395&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d9e55e98975a077fa815afb19c5abd2d5e75d395&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1128687" author="xgen-internal-githook" created="Thu, 7 Jan 2016 16:13:30 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-21776&quot; title=&quot;Move per-operation log lines for queries out of the QUERY log component&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-21776&quot;&gt;&lt;del&gt;SERVER-21776&lt;/del&gt;&lt;/a&gt; CachedPlanStage: add post-replan log msgs at log level 1&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 3372811fc15df4592515a57b1cfdbaed2b703735)&lt;br/&gt;
Branch: v3.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/1aae0bbeb1d9c0b6a973076acba398ac1b65d0fc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/1aae0bbeb1d9c0b6a973076acba398ac1b65d0fc&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1128686" author="xgen-internal-githook" created="Thu, 7 Jan 2016 16:13:29 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-21776&quot; title=&quot;Move per-operation log lines for queries out of the QUERY log component&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-21776&quot;&gt;&lt;del&gt;SERVER-21776&lt;/del&gt;&lt;/a&gt; Most instance.cpp log msgs should use kCommand component&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 7834ab9782d90b82ff023c5c886635962e8d5417)&lt;br/&gt;
Branch: v3.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/4d33d81c789ad99cbc5204c20ebb0cadb7bc2b95&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/4d33d81c789ad99cbc5204c20ebb0cadb7bc2b95&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1126775" author="xgen-internal-githook" created="Tue, 5 Jan 2016 20:40:58 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-21776&quot; title=&quot;Move per-operation log lines for queries out of the QUERY log component&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-21776&quot;&gt;&lt;del&gt;SERVER-21776&lt;/del&gt;&lt;/a&gt; CachedPlanStage: add post-replan log msgs at log level 1&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/3372811fc15df4592515a57b1cfdbaed2b703735&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/3372811fc15df4592515a57b1cfdbaed2b703735&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1124172" author="xgen-internal-githook" created="Wed, 30 Dec 2015 19:37:16 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-21776&quot; title=&quot;Move per-operation log lines for queries out of the QUERY log component&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-21776&quot;&gt;&lt;del&gt;SERVER-21776&lt;/del&gt;&lt;/a&gt; Most instance.cpp log msgs should use kCommand component&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/7834ab9782d90b82ff023c5c886635962e8d5417&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/7834ab9782d90b82ff023c5c886635962e8d5417&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1106576" author="dan@10gen.com" created="Sun, 6 Dec 2015 20:24:31 +0000"  >&lt;p&gt;We really need to do a holistic re-jiggering of our log levels and components. We need to start with developer guidelines for which level is appropriate for which sort of information.  I understand the problem here though, so I&apos;m not opposed to a short term fix, but I&apos;d like to see a bit more fleshed out proposal.&lt;/p&gt;</comment>
                            <comment id="1106155" author="david.storch" created="Fri, 4 Dec 2015 23:19:33 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dan%4010gen.com&quot; class=&quot;user-hover&quot; rel=&quot;dan@10gen.com&quot;&gt;dan@10gen.com&lt;/a&gt;, I think this will be very useful for diagnosing plan selection problems on 3.0 and 3.2 going forward. We have logging for when replanning kicks in which may give us a picture of how we end up with slow queries.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                                                <inwardlinks description="is documented by">
                                        <issuelink>
            <issuekey id="259610">DOCS-7006</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="266608">SERVER-22745</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="242294">SERVER-21769</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>11.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_12451" key="com.atlassian.jira.plugin.system.customfieldtypes:multiversion">
                        <customfieldname>Backport Completed</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="16007">3.0.9</customfieldvalue>
    <customfieldvalue id="15909">3.2.3</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sun, 6 Dec 2015 20:24:31 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 4 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>dan@mongodb.com</customfieldvalue>
            <customfieldvalue>david.storch@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>rassi</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrkmxr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hseswv:</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="817">QuInt E (01/11/16)</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|hs3gmv:</customfieldvalue>

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