<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:01:19 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-22745] refine &quot;command&quot; log component into subsets reflecting previously useful query component</title>
                <link>https://jira.mongodb.org/browse/SERVER-22745</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Log components were quite useful for various debugging/logging but some of them have become useless - query being one when find became a command.&lt;/p&gt;

&lt;p&gt;Now increasing logLevel of &quot;query&quot; seems to have no effect, and there is no way to get higher query related debugging/logging without turning on &lt;b&gt;all&lt;/b&gt; commands which defeats the purpose of the split.&lt;/p&gt;

&lt;p&gt;Either db.setLogComponent(X, &quot;query&quot;) should now apply to commands which took place of previously useful query component, or another way to increasing logging for it should be exposed.&lt;/p&gt;</description>
                <environment></environment>
        <key id="266608">SERVER-22745</key>
            <summary>refine &quot;command&quot; log component into subsets reflecting previously useful query 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="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="backlog-query-execution">Backlog - Query Execution</assignee>
                                    <reporter username="asya.kamsky@mongodb.com">Asya Kamsky</reporter>
                        <labels>
                    </labels>
                <created>Thu, 18 Feb 2016 22:05:27 +0000</created>
                <updated>Tue, 6 Dec 2022 04:32:49 +0000</updated>
                                            <version>3.2.0</version>
                                                    <component>Diagnostics</component>
                    <component>Querying</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="1179157" author="rassi@10gen.com" created="Fri, 19 Feb 2016 18:32:54 +0000"  >&lt;blockquote&gt;
&lt;p&gt;That really overloads COMMAND log component... I really would like to be able to see every query running on my mongod without needing to see every isMaster command ... any way to achieve that now?&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;There&apos;s already a log level 2 message that prints every incoming query in find.cpp (for OP_QUERY legacy queries).  I hadn&apos;t realized until now that there&apos;s no such message in find_cmd.cpp, though; I suggest we add one.&lt;/p&gt;

&lt;p&gt;As an alternative, we can delete this existing log level 2 message and instead add a log level 2 message for legacy query and find command that prints the query and some basic stats after finishing execution.&lt;/p&gt;</comment>
                            <comment id="1178862" author="david.storch" created="Fri, 19 Feb 2016 15:10:36 +0000"  >&lt;p&gt;Not out of the box. You would enable commands logLevel 1 and then filter out the find command + query log lines. In my mind, logLevel 1 for a particular module should be safe for users to enable without resulting in an enormous amount of log data. Perhaps we could look at what it would take to make QUERY component logLevel 2 to turn on just &quot;one log line per query&quot; mode and nothing else?&lt;/p&gt;</comment>
                            <comment id="1178208" author="asya" created="Fri, 19 Feb 2016 00:37:05 +0000"  >&lt;p&gt;That really overloads COMMAND log component...   I really would like to be able to see every query running on my mongod without needing to see every isMaster command ...  any way to achieve that now?&lt;/p&gt;</comment>
                            <comment id="1178092" author="david.storch" created="Thu, 18 Feb 2016 23:03:25 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=asya&quot; class=&quot;user-hover&quot; rel=&quot;asya&quot;&gt;asya&lt;/a&gt;, we purposefully moved per-operation log lines out of the &quot;query&quot; component in order to make enabling query logLevel 1 feasible in the field. Now OP_QUERY find and find command will all be logged in the COMMAND log component. See &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;. This allows us to look specifically for rare but important query system events at logLevel 1, such as replans and cache flushes.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="242409">SERVER-21776</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>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25125"><![CDATA[Query Execution]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 18 Feb 2016 23:03:25 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            7 years, 51 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>asya.kamsky@mongodb.com</customfieldvalue>
            <customfieldvalue>backlog-query-execution</customfieldvalue>
            <customfieldvalue>david.storch@mongodb.com</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|hrkfqn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr2edj:</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_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|hrj1o7:</customfieldvalue>

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