<?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>how to enable rtt log?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78974/how-to-enable-rtt-log</link><description>Hi, 
 I close the uart log and open the rtt log 
 why uart log can be used still? 
 why rtt log display error state? 
 I set the log config like this: 
 
 
 I set the test code like this 
 
 I test the log like this: 
 
 
 
 Thank you for all your assistance</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 23 Dec 2021 02:05:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78974/how-to-enable-rtt-log" /><item><title>RE: how to enable rtt log?</title><link>https://devzone.nordicsemi.com/thread/344863?ContentTypeID=1</link><pubDate>Thu, 23 Dec 2021 02:05:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff034f3f-0c98-4100-ad21-37497631a06e</guid><dc:creator>peter.min</dc:creator><description>&lt;p&gt;Hi Simonr,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I tested it again and it was strange that this project could not turn off serial port printing.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank&amp;ensp;you&amp;ensp;for&amp;ensp;all&amp;ensp;your&amp;ensp;assistance.&lt;br /&gt;Kind regards,&lt;br /&gt;Peter.Min&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to enable rtt log?</title><link>https://devzone.nordicsemi.com/thread/327606?ContentTypeID=1</link><pubDate>Wed, 01 Sep 2021 12:18:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc0a928f-63f9-4c1b-85fe-efefa58cb6fb</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;This is discussed in detail in&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/32512/lost-logs---increase-log-backend-queue-size"&gt; this case&lt;/a&gt;. Please give the methods described here a shot.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to enable rtt log?</title><link>https://devzone.nordicsemi.com/thread/327501?ContentTypeID=1</link><pubDate>Wed, 01 Sep 2021 02:55:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5ac0fd2-dffb-4d94-8ded-7458d6e8892f</guid><dc:creator>peter.min</dc:creator><description>&lt;p&gt;Hi Simonr,&lt;/p&gt;
&lt;p&gt;My configuration was to just print the RTT log and I recompiled the project.&lt;/p&gt;
&lt;p&gt;How to&amp;nbsp;&lt;span&gt;increase the log backend queue size?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;br /&gt;Thank&amp;ensp;you&amp;ensp;for&amp;ensp;all&amp;ensp;your&amp;ensp;assistance.&lt;br /&gt;Kind regards,&lt;br /&gt;Peter.Min&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to enable rtt log?</title><link>https://devzone.nordicsemi.com/thread/326752?ContentTypeID=1</link><pubDate>Thu, 26 Aug 2021 11:35:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11465e70-3393-4cc1-867b-7417de32074a</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Peter&lt;/p&gt;
&lt;p&gt;Are you sure that you&amp;#39;ve compiled and built the application again after you&amp;#39;ve set the UART backend to 0? If you have, a lot of the data seems somewhat jumbled up, are you positive that it is the logging information that is printed to UART? It looks like you need to increase the log backend queue size to get the correct output on your RTT viewer.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>