<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:58:06 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>[JAVA-2804] Log queries</title>
                <link>https://jira.mongodb.org/browse/JAVA-2804</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;Even with log level configured to &quot;trace&quot; the exact queries sent to the Mongo server are not logged when doing CRUD operations similarly to the way they are in the Ruby driver for example. This is a significant obstacle during development.&lt;/p&gt;</description>
                <environment></environment>
        <key id="509693">JAVA-2804</key>
            <summary>Log queries</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="3">Duplicate</resolution>
                                        <assignee username="ross@mongodb.com">Ross Lawley</assignee>
                                    <reporter username="yassenb">Yassen Bantchev</reporter>
                        <labels>
                    </labels>
                <created>Mon, 12 Mar 2018 14:03:13 +0000</created>
                <updated>Tue, 13 Mar 2018 16:47:19 +0000</updated>
                            <resolved>Tue, 13 Mar 2018 16:47:19 +0000</resolved>
                                    <version>3.6.3</version>
                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1831737" author="yassenb" created="Tue, 13 Mar 2018 09:51:41 +0000"  >&lt;p&gt;Yes, it&apos;s a duplicate, sorry I missed that one. Looking forward to 3.7!&lt;/p&gt;</comment>
                            <comment id="1830644" author="jeff.yemin" created="Mon, 12 Mar 2018 14:23:07 +0000"  >&lt;p&gt;Linking to &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2698&quot; title=&quot;Include more of the command document when logging command execution&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2698&quot;&gt;&lt;del&gt;JAVA-2698&lt;/del&gt;&lt;/a&gt;, which I expect will address your concerns.  A fix for this issue will be included in the 3.7 release of the driver in the next few months. &lt;/p&gt;

&lt;p&gt;The command logging is included at DEBUG in the &lt;tt&gt;org.mongodb.driver.protocol.command&lt;/tt&gt; logger, and looks like this (the example is for the &lt;tt&gt;find&lt;/tt&gt; command):&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;10:18:18.819 [main] DEBUG org.mongodb.driver.protocol.command - Sending command &apos;{ &quot;find&quot; : &quot;test&quot;, &quot;filter&quot; : { &quot;x&quot; : 1 }, &quot;sort&quot; : { &quot;y&quot; : 1 }, &quot;projection&quot; : { &quot;y&quot; : 1 }, &quot;$db&quot; : &quot;test&quot;, &quot;lsid&quot; : { &quot;id&quot; : { &quot;$binary&quot; : { &quot;base64&quot; : &quot;ShsRPF35T0ijm0Lpnj9CIA==&quot;, &quot;subType&quot; : &quot;04&quot; } } }, &quot;$readPreference&quot; : { &quot;mode&quot; : &quot;primaryPreferred&quot; } }&apos; with request id 8 to database test on connection [connectionId{localValue:2, serverValue:433}] to server 127.0.0.1:27017&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;Let us know if this meets your needs, and if so I&apos;ll resolve this as a duplicate.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="469994">JAVA-2698</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htjquv:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>