<?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>Deferred logging with RTT</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120494/deferred-logging-with-rtt</link><description>Is there any point to using deferred logging with the RTT backend? 
 The way I understand RTT is that it writes the message to a buffer where it is fetched via DAP, skipping the delay of UART printing. 
 
 So is there any argument for leavong deferred</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 07 Apr 2025 06:37:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120494/deferred-logging-with-rtt" /><item><title>RE: Deferred logging with RTT</title><link>https://devzone.nordicsemi.com/thread/530743?ContentTypeID=1</link><pubDate>Mon, 07 Apr 2025 06:37:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb3cdc4e-838b-4bf2-963a-e84b0d69824b</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Another use case might be that you do not rely on any time sensitive log so you give the CPU time to higher priority/important processing and just process the logs during less time sensitive idle times.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Deferred logging with RTT</title><link>https://devzone.nordicsemi.com/thread/530711?ContentTypeID=1</link><pubDate>Sun, 06 Apr 2025 10:48:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7a0bb3a-66b6-403b-bd91-496df72fbfe1</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;The point is less stack usage for the thread that produced the message as it does not call printf() directly.&lt;/p&gt;
&lt;p&gt;Try enabling&amp;nbsp; &lt;code&gt;CONFIG_LOG_DEFAULT_LEVEL=4&lt;/code&gt; or something like &lt;code&gt;CONFIG_BT_LOG_LEVEL_DBG=y&lt;/code&gt;. Those usually produce stack overflows with default stack sizes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>