<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:06:24 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>[CXX-2586] Easier debugging with standardized logging: logging specification</title>
                <link>https://jira.mongodb.org/browse/CXX-2586</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;This ticket was split from &lt;tt&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-1677&quot; title=&quot;Easier debugging with standardized logging: logging specification&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-1677&quot;&gt;DRIVERS-1677&lt;/a&gt;&lt;/tt&gt;, please see that ticket for a detailed description. &lt;/p&gt;</description>
                <environment></environment>
        <key id="2154374">CXX-2586</key>
            <summary>Easier debugging with standardized logging: logging specification</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="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="-1">Unassigned</assignee>
                                    <reporter username="dbeng-pm-bot">PM Bot</reporter>
                        <labels>
                    </labels>
                <created>Fri, 7 Oct 2022 15:06:59 +0000</created>
                <updated>Mon, 9 Jan 2023 20:19:40 +0000</updated>
                                                                            <component>Logging</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                    <issuelinks>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                                                <inwardlinks description="split from">
                                        <issuelink>
            <issuekey id="1327204">DRIVERS-1677</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>CXX-2448</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i0vxn4:</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_21457" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Upstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-1677&quot; title=&quot;Easier debugging with standardized logging: logging specification&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-1677&quot;&gt;DRIVERS-1677&lt;/a&gt;:&lt;br/&gt;
I suggest that drivers do their implementation of this ticket in tandem with their implementation of &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-1673&quot; title=&quot;Add log messages to Command monitoring spec&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-1673&quot;&gt;DRIVERS-1673&lt;/a&gt; which adds command log messages. This way the driver will have actual log messages to emit and test and can confirm that their logging implementation and test code works as expected.&lt;/p&gt;

&lt;p&gt;The logging spec can be found &lt;a href=&quot;https://github.com/mongodb/specifications/blob/master/source/logging/logging.rst&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The unified test format changes can be found &lt;a href=&quot;https://github.com/mongodb/specifications/blob/master/source/logging/logging.rst&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;. To summarize:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Client entities may now have a new &lt;tt&gt;observeLogMessages&lt;/tt&gt; property specifying logging configuration for the client&lt;/li&gt;
	&lt;li&gt;Tests may now have a new &lt;tt&gt;expectLogMessages&lt;/tt&gt; property specifying expected log messages to be produced during the test&lt;/li&gt;
	&lt;li&gt;Two new special matching operators &lt;tt&gt;$$matchAsRoot&lt;/tt&gt; and &lt;tt&gt;$$matchAsDocument&lt;/tt&gt; have been added to enable logging assertions.&lt;br/&gt;
&#160;&lt;/li&gt;
&lt;/ul&gt;
</customfieldvalue>

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