<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:59:26 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-3368] LoggingCommandEventSender should allow log length to be configurable</title>
                <link>https://jira.mongodb.org/browse/JAVA-3368</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;LoggingCommandEventSender allows logging for commands. However, those commands can be truncated if the document is longer than 1000 characters. This value is hardcoded. It would be helpful to be able to configure it with the possibility to have a &quot;no limit&quot; value.&lt;/p&gt;

&lt;p&gt;The limit comes from the commit&#160;&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/a93299f7a9a18e9febabfd8445a24af0f8a8c194&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/a93299f7a9a18e9febabfd8445a24af0f8a8c194&lt;/a&gt;&#160;which was implemented for&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2698&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/JAVA-2698&lt;/a&gt;.&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="880739">JAVA-3368</key>
            <summary>LoggingCommandEventSender should allow log length to be configurable</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="-1">Unassigned</assignee>
                                    <reporter username="maxime.carbonneauleclerc@bell.ca">Maxime Carbonneau-Leclerc</reporter>
                        <labels>
                    </labels>
                <created>Wed, 31 Jul 2019 12:26:25 +0000</created>
                <updated>Mon, 10 Oct 2022 19:09:57 +0000</updated>
                            <resolved>Mon, 10 Oct 2022 19:09:57 +0000</resolved>
                                                                    <component>Monitoring</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="4892001" author="jeff.yemin" created="Mon, 10 Oct 2022 19:09:57 +0000"  >&lt;p&gt;This is a requirement of &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-4485&quot; title=&quot;Easier debugging with standardized logging&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-4485&quot;&gt;JAVA-4485&lt;/a&gt;, so closing as a duplicate.&lt;/p&gt;</comment>
                            <comment id="2361160" author="jeff.yemin" created="Wed, 7 Aug 2019 13:56:22 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=maxime.carbonneauleclerc%40bell.ca&quot; class=&quot;user-hover&quot; rel=&quot;maxime.carbonneauleclerc@bell.ca&quot;&gt;maxime.carbonneauleclerc@bell.ca&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks for the suggestion.  Currently we don&apos;t have any direct configuration of logging (it&apos;s all done with external configuration of the logging provider) so we&apos;d have to find a good way to do this.  There might be other logger-related settings we&apos;d want to group with this one, for example.&lt;/p&gt;

&lt;p&gt;One workaround I can suggest: register your own CommandListener and do the logging yourself.  The command events have all the information available that you would need to duplicate the driver&apos;s own logging.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1979383">JAVA-4485</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|hv7d67:</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>