<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:07:50 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>[MONGOCRYPT-47] Add logging for libmongocrypt</title>
                <link>https://jira.mongodb.org/browse/MONGOCRYPT-47</link>
                <project id="17481" key="MONGOCRYPT">Libmongocrypt</project>
                    <description>&lt;p&gt;Add comprehensive logging to libmongocrypt.&lt;/p&gt;

&lt;p&gt;Some background:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;drivers that use libmongocrypt can set a log callback to receive log messages (using this public API).&lt;/li&gt;
	&lt;li&gt;right now we only log things with log level &lt;tt&gt;MONGOCRYPT_LOG_LEVEL_TRACE&lt;/tt&gt;, using a convenience macro CRYPT_TRACEF.&lt;/li&gt;
	&lt;li&gt;we should log all input arguments and output arguments of all public API (anything defined in mongocrypt.h), probably with &lt;tt&gt;MONGOCRYPT_LOG_LEVEL_INFO&lt;/tt&gt;.&lt;/li&gt;
	&lt;li&gt;for a &lt;tt&gt;mongocrypt_binary_t&lt;/tt&gt;, how we log it depends on what it stores. If it represents BSON, we convert it to a &lt;tt&gt;bson_t&lt;/tt&gt; first, and print the BSON representation with something like &lt;tt&gt;bson_as_json&lt;/tt&gt;.&lt;/li&gt;
	&lt;li&gt;consider anything else worth logging. If it turns out we don&apos;t need all five log levels, we could consider removing some.&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="745856">MONGOCRYPT-47</key>
            <summary>Add logging for libmongocrypt</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="13201">Fixed</resolution>
                                        <assignee username="kevin.albertson@mongodb.com">Kevin Albertson</assignee>
                                    <reporter username="jeff.yemin@mongodb.com">Jeffrey Yemin</reporter>
                        <labels>
                    </labels>
                <created>Fri, 26 Apr 2019 14:51:23 +0000</created>
                <updated>Sat, 28 Oct 2023 10:25:50 +0000</updated>
                            <resolved>Mon, 1 Jul 2019 19:20:15 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="2307396" author="xgen-internal-githook" created="Mon, 1 Jul 2019 18:56:05 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;, &apos;email&apos;: &apos;kevin.albertson@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/MONGOCRYPT-47&quot; title=&quot;Add logging for libmongocrypt&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MONGOCRYPT-47&quot;&gt;&lt;del&gt;CDRIVER-3102&lt;/del&gt;&lt;/a&gt; add back logging for libmongocrypt&lt;/p&gt;

&lt;p&gt;This reverts commit cb3f76a5a2fd7184ac4bf4aee9f3255b09771305 and applies&lt;br/&gt;
some additional changes:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;applies fix to KMS log member and test&lt;/li&gt;
	&lt;li&gt;mongocrypt_setopt_log_handler no longer logs&lt;/li&gt;
	&lt;li&gt;changes logs from INFO to TRACE.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libmongocrypt/commit/65c928a4273d2d2a7687b3384e9d9019523f1da0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libmongocrypt/commit/65c928a4273d2d2a7687b3384e9d9019523f1da0&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="2281733" author="xgen-internal-githook" created="Wed, 12 Jun 2019 19:21:29 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;email&apos;: &apos;kevin.albertson@mongodb.com&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;}
&lt;p&gt;Message: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/MONGOCRYPT-47&quot; title=&quot;Add logging for libmongocrypt&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MONGOCRYPT-47&quot;&gt;&lt;del&gt;CDRIVER-3102&lt;/del&gt;&lt;/a&gt; Add logging for libmongocrypt (#14)&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit 60bf80b15fdcfb726992632fa1451bda7dc03fbf.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libmongocrypt/commit/cb3f76a5a2fd7184ac4bf4aee9f3255b09771305&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libmongocrypt/commit/cb3f76a5a2fd7184ac4bf4aee9f3255b09771305&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2274961" author="xgen-internal-githook" created="Thu, 6 Jun 2019 19:48:13 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;bazile-clyde&apos;, &apos;email&apos;: &apos;34226620+bazile-clyde@users.noreply.github.com&apos;, &apos;username&apos;: &apos;bazile-clyde&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/MONGOCRYPT-47&quot; title=&quot;Add logging for libmongocrypt&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MONGOCRYPT-47&quot;&gt;&lt;del&gt;CDRIVER-3102&lt;/del&gt;&lt;/a&gt; Add logging for libmongocrypt (#14)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libmongocrypt/commit/60bf80b15fdcfb726992632fa1451bda7dc03fbf&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libmongocrypt/commit/60bf80b15fdcfb726992632fa1451bda7dc03fbf&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2229206" author="ian@10gen.com" created="Tue, 30 Apr 2019 14:59:09 +0000"  >&lt;p&gt;would be great if this can include docs about what is being logged at each level.  Please talk with the team about where to do this.&lt;/p&gt;</comment>
                    </comments>
                    <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>CDRIVER-2915</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr7cd3:</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>