<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:04:14 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-3847] db.setProfilingLevel(2) doesn&apos;t log what was inserted</title>
                <link>https://jira.mongodb.org/browse/SERVER-3847</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>

&lt;p&gt;&amp;gt; use profilingtest&lt;br/&gt;
switched to db profilingtest&lt;br/&gt;
&amp;gt; db.setProfilingLevel(2);&lt;/p&gt;
{ &quot;was&quot; : 0, &quot;slowms&quot; : 100, &quot;ok&quot; : 1 }
&lt;p&gt;&amp;gt; db.getProfilingLevel()&lt;br/&gt;
2&lt;br/&gt;
&amp;gt; db.somecollection.insert(&lt;/p&gt;
{cheese: true}
&lt;p&gt;)&lt;br/&gt;
&amp;gt; db.somecollection.findOne()&lt;/p&gt;
{ &quot;_id&quot; : ObjectId(&quot;4e7084af0c324c44055b5180&quot;), &quot;cheese&quot; : true }
&lt;p&gt;&amp;gt; db.system.profile.find()&lt;br/&gt;
{ &quot;ts&quot; : ISODate(&quot;2011-09-14T10:40:23.391Z&quot;), &quot;info&quot; : &quot;query profilingtest.$cmd ntoreturn:1 command: &lt;/p&gt;
{ profile: -1.0 }
&lt;p&gt; reslen:74 bytes:58&quot;, &quot;millis&quot; : 0 }&lt;/p&gt;
{ &quot;ts&quot; : ISODate(&quot;2011-09-14T10:40:47.091Z&quot;), &quot;info&quot; : &quot;insert profilingtest.somecollection&quot;, &quot;millis&quot; : 2 }
&lt;p&gt;{ &quot;ts&quot; : ISODate(&quot;2011-09-14T10:40:54.220Z&quot;), &quot;info&quot; : &quot;query profilingtest.somecollection ntoreturn:1 reslen:67 nscanned:1  \nquery: {}  nreturned:1 bytes:51&quot;, &quot;millis&quot; : 0 }&lt;/p&gt;







</description>
                <environment>OS X 10.7, MongoDB 2.0, though it did the same on 1.8</environment>
        <key id="22243">SERVER-3847</key>
            <summary>db.setProfilingLevel(2) doesn&apos;t log what was inserted</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="-1">Unassigned</assignee>
                                    <reporter username="russell.smith@ukd1.co.uk">Russell Smith</reporter>
                        <labels>
                            <label>profiling</label>
                    </labels>
                <created>Wed, 14 Sep 2011 10:43:58 +0000</created>
                <updated>Tue, 16 Nov 2021 14:35:02 +0000</updated>
                            <resolved>Wed, 14 Sep 2011 13:59:41 +0000</resolved>
                                    <version>2.0.0</version>
                                                    <component>Usability</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="53995" author="scotthernandez" created="Wed, 14 Sep 2011 13:59:41 +0000"  >&lt;p&gt;The output is from 1.8; I have created a new issue for what you want: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3848&quot; title=&quot;Log doc during insert in system.profile collection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3848&quot;&gt;&lt;del&gt;SERVER-3848&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="53966" author="russell.smith@ukd1.co.uk" created="Wed, 14 Sep 2011 10:45:26 +0000"  >&lt;p&gt;BTW: Currently my work around is to parse data from mongosniff;&lt;/p&gt;


&lt;p&gt;127.0.0.1:55917  --&amp;gt;&amp;gt; 127.0.0.1:27017 profilingtest.somecollection  80 bytes  id:47	71&lt;br/&gt;
	insert: &lt;/p&gt;
{ _id: ObjectId(&apos;4e7085080c324c44055b5181&apos;), cheese: true }

&lt;p&gt;Which works nicely &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="22250">SERVER-3848</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>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, 14 Sep 2011 13:59:41 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            12 years, 23 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>russell.smith@ukd1.co.uk</customfieldvalue>
            <customfieldvalue>scotthernandez</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hroqsn:</customfieldvalue>

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

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

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