<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:44:16 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-80676] (SA) Extend the logging system to tag logs with their corresponding service name</title>
                <link>https://jira.mongodb.org/browse/SERVER-80676</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;By embedding the router service into the MongoD binary, the process will combine logging information for both router and shard roles in the same file, i.e., &lt;tt&gt;mongod.log&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;To discriminate log traces produced by routers and shards with the same content (e.g., &lt;em&gt;Slow query&lt;/em&gt;), a new attribute should be added to the log traces to specify the role that produced it. For example:&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;{&quot;t&quot;:{&quot;$date&quot;:&quot;2023-08-08T08:56:43.638+00:00&quot;},&quot;s&quot;:&quot;I&quot;,&quot;c&quot;:&quot;COMMAND&quot;,&#160; &quot;id&quot;:51803,&quot;service&quot;:&quot;router&quot;,&quot;ctx&quot;:&quot;conn6&quot;,&quot;msg&quot;:&quot;Slow query&quot;,&quot;attr&quot;:{...}} &lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;</description>
                <environment></environment>
        <key id="2432401">SERVER-80676</key>
            <summary>(SA) Extend the logging system to tag logs with their corresponding service name</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="james.bronsted@mongodb.com">James Bronsted</assignee>
                                    <reporter username="antonio.fuschetto@mongodb.com">Antonio Fuschetto</reporter>
                        <labels>
                    </labels>
                <created>Fri, 1 Sep 2023 12:36:51 +0000</created>
                <updated>Thu, 16 Nov 2023 01:12:01 +0000</updated>
                            <resolved>Fri, 3 Nov 2023 18:16:37 +0000</resolved>
                                                    <fixVersion>7.2.0-rc0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="5853016" author="xgen-internal-githook" created="Fri, 3 Nov 2023 17:29:00 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;James Bronsted&apos;, &apos;email&apos;: &apos;james.bronsted@mongodb.com&apos;, &apos;username&apos;: &apos;jpbronsted&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-80676&quot; title=&quot;(SA) Extend the logging system to tag logs with their corresponding service name&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-80676&quot;&gt;&lt;del&gt;SERVER-80676&lt;/del&gt;&lt;/a&gt; tag logs with corresponding service name&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/2df646815dd22d2409379a0e69cd06cc01945e4a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/2df646815dd22d2409379a0e69cd06cc01945e4a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5691392" author="JIRAUSER1269186" created="Sat, 9 Sep 2023 00:50:47 +0000"  >
&lt;p&gt;thank you!&lt;/p&gt;
</comment>
                            <comment id="5690836" author="billy.donahue" created="Fri, 8 Sep 2023 19:03:17 +0000"  >&lt;p&gt;I just want to add that that early part of the log statement before is fixed-width fields so that log lines are not jagged when eyeballed. We also have to be mindful of column count, so &lt;tt&gt;&quot;service&quot;:&quot;router&quot;,&lt;/tt&gt; is probably too wide. We are probably looking for something more like &lt;tt&gt;&quot;svc&quot;:&quot;r&quot;,&lt;/tt&gt;.&lt;/p&gt;</comment>
                            <comment id="5690443" author="JIRAUSER1273619" created="Fri, 8 Sep 2023 16:47:35 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=tyler.brock%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;tyler.brock@mongodb.com&quot;&gt;tyler.brock@mongodb.com&lt;/a&gt; the status was from the previous assigned-team - I put it back to needs scheduling so someone can pick it up later&lt;/p&gt;</comment>
                            <comment id="5690356" author="JIRAUSER1269186" created="Fri, 8 Sep 2023 16:27:44 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=phoebe.du%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;phoebe.du@mongodb.com&quot;&gt;phoebe.du@mongodb.com&lt;/a&gt; this has a status of in progress but is assigned to the backlog user, is someone actually working on it?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="2449139">SERVER-81358</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2501455">COMPASS-7463</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                                                <inwardlinks description="is documented by">
                                        <issuelink>
            <issuekey id="2501454">DOCS-16502</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2490310">SERVER-82769</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25132"><![CDATA[Service Arch]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 8 Sep 2023 16:27:44 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        13 weeks, 5 days 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_17052" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Downstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>As a result of changes introduced here, logging messages produced by servers with the embeddedRouter feature flag set will contain a new top-level attribute between the &amp;quot;ctx&amp;quot; and &amp;quot;msg&amp;quot; fields named &amp;quot;svc&amp;quot;. As such, any log ingestion that is sensitive to the format of log messages may need to be updated to account for the presence of this field.&lt;br/&gt;
&lt;br/&gt;
Example of the same (truncated) log line before and after this change:&lt;br/&gt;
```&lt;br/&gt;
[js_test:config_settings_schema] s20043| {&amp;quot;t&amp;quot;:{&amp;quot;$date&amp;quot;:&amp;quot;2023-11-01T14:49:14.124+00:00&amp;quot;},&amp;quot;s&amp;quot;:&amp;quot;I&amp;quot;,  &amp;quot;c&amp;quot;:&amp;quot;COMMAND&amp;quot;,  &amp;quot;id&amp;quot;:51803,   &amp;quot;ctx&amp;quot;:&amp;quot;ClusterServerParameterRefresher&amp;quot;,&amp;quot;msg&amp;quot;:&amp;quot;Slow query&amp;quot;,&amp;quot;attr&amp;quot; ...&lt;br/&gt;
[js_test:config_settings_schema] s20043| {&amp;quot;t&amp;quot;:{&amp;quot;$date&amp;quot;:&amp;quot;2023-11-01T15:00:05.151+00:00&amp;quot;},&amp;quot;s&amp;quot;:&amp;quot;I&amp;quot;,  &amp;quot;c&amp;quot;:&amp;quot;COMMAND&amp;quot;,  &amp;quot;id&amp;quot;:51803,   &amp;quot;svc&amp;quot;:&amp;quot;r&amp;quot;, &amp;quot;ctx&amp;quot;:&amp;quot;ClusterServerParameterRefresher&amp;quot;,&amp;quot;msg&amp;quot;:&amp;quot;Slow query&amp;quot;,&amp;quot;attr&amp;quot;:&lt;br/&gt;
```</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16942"><![CDATA[Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-635</customfieldvalue>
                        </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>backlog-server-pm</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            13 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>172.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>antonio.fuschetto@mongodb.com</customfieldvalue>
            <customfieldvalue>billy.donahue@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>james.bronsted@mongodb.com</customfieldvalue>
            <customfieldvalue>phoebe.du@mongodb.com</customfieldvalue>
            <customfieldvalue>tyler.brock@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i2ov1r:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr2v6x:</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_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_22250" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Special Downgrade Instructions Required</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="23343"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="7617">Service Arch 2023-10-16</customfieldvalue>
    <customfieldvalue id="7618">Service Arch 2023-10-30</customfieldvalue>
    <customfieldvalue id="7619">Service Arch 2023-11-13</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_17051" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Teams Impacted</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16943"><![CDATA[Cloud]]></customfieldvalue>
    <customfieldvalue key="16944"><![CDATA[Docs]]></customfieldvalue>
    <customfieldvalue key="20960"><![CDATA[DBX: DevTools (Compass, Shell, VS Code Ext)]]></customfieldvalue>
    <customfieldvalue key="16946"><![CDATA[Triage and Release]]></customfieldvalue>
    
                        </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|i2oh73:</customfieldvalue>

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