<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Inquiry About Enabling Matter Diagnostic Log Function in Sample Project</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124997/inquiry-about-enabling-matter-diagnostic-log-function-in-sample-project</link><description>I am currently working with the Matter sample project and have encountered a question regarding the diagnostic log function. I would like to inquire about how to enable the Matter diagnostic log function in the sample project , and if possible, could</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 Oct 2025 07:17:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124997/inquiry-about-enabling-matter-diagnostic-log-function-in-sample-project" /><item><title>RE: Inquiry About Enabling Matter Diagnostic Log Function in Sample Project</title><link>https://devzone.nordicsemi.com/thread/551661?ContentTypeID=1</link><pubDate>Thu, 16 Oct 2025 07:17:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d72e2e29-8d0d-45d9-b7e7-0a86664b4a9b</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Selecting the diagnostic-logs snippet in the VS Code build configuration is the same as adding &lt;code&gt;-DSNIPPET=diagnostic-logs&lt;/code&gt; to the build command. With sysbuild, when you only use &lt;code&gt;-DSNIPPET&lt;/code&gt;, the snippet will be applied to all images in the build (in this case, both light_bulb and MCUboot). Since the configs enabled by the diagnostic-logs snippet should only be applied to the light_bulb image, you must specify the image as part of the command, i.e., you must use&lt;code&gt;&amp;nbsp;-Dlight_bulb_SNIPPET=diagnostic-logs&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Adding the snippet with &lt;code&gt;-Dlight_bulb_SNIPPET=diagnostic-logs&lt;/code&gt;&amp;nbsp;should be enough to use it, but you can also find more information in our documentation:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-3.1.1/page/nrf/protocols/matter/getting_started/advanced_kconfigs.html#diagnostic_logs_snippet"&gt;Matter - Diagnostic logs snippet&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>