<?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>NRF LOG ENABLE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51704/nrf-log-enable</link><description>Hi, 
 i have to watch my program flow in segger debugging mode, so that i enable 
 #ifndef NRF_LOG_ENABLED #define NRF_LOG_ENABLED 1 #endif 
 in sdk_config.h file. 
 now i can get the log information in my debug terminal but i have also got the log message</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 05 Sep 2019 07:00:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51704/nrf-log-enable" /><item><title>RE: NRF LOG ENABLE</title><link>https://devzone.nordicsemi.com/thread/208103?ContentTypeID=1</link><pubDate>Thu, 05 Sep 2019 07:00:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a73c86d-2b95-4898-a9d8-37b4d17af4af</guid><dc:creator>hmdra</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Thank you for your support, Its working..&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF LOG ENABLE</title><link>https://devzone.nordicsemi.com/thread/208016?ContentTypeID=1</link><pubDate>Wed, 04 Sep 2019 15:29:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b014635-a32b-474e-81ac-19b60607e0e9</guid><dc:creator>awneil</dc:creator><description>[quote userid="73316" url="~/f/nordic-q-a/51704/nrf-log-enable"]why it should i have to call&amp;nbsp;&lt;span&gt;NRF_LOG_FLUSH() this function&lt;/span&gt;[/quote]
&lt;p&gt;Sounds like you are not (properly) calling&amp;nbsp;NRF_LOG_PROCESS() in your background loop?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.3.0%2Fgroup__nrf__log__ctrl.html&amp;amp;anchor=gaea4ee51a39f70f14ad2e3213fa497ade"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.3.0%2Fgroup__nrf__log__ctrl.html&amp;amp;anchor=gaea4ee51a39f70f14ad2e3213fa497ade&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/34666/nrf5-sdk-v15-0-0-bug-report-incorrect-use-of-nrf_log_process-in-ble_app_uart-peripheral-example-among-others"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/34666/nrf5-sdk-v15-0-0-bug-report-incorrect-use-of-nrf_log_process-in-ble_app_uart-peripheral-example-among-others&lt;/a&gt;&lt;/p&gt;
[quote userid="73316" url="~/f/nordic-q-a/51704/nrf-log-enable"]my log message be like[/quote][quote userid="73316" url="~/f/nordic-q-a/51704/nrf-log-enable"][0m&amp;lt;info&amp;gt; spi: Transfer tx_len:5, rx_len:5.[0m[/quote]
&lt;p&gt;The [0m is the escape sequence which controls the display colour on your terminal. If you are seeing that, it means that your terminal is not properly configured to interpret the escape sequences.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://en.wikipedia.org/wiki/ANSI_escape_code"&gt;https://en.wikipedia.org/wiki/ANSI_escape_code&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF LOG ENABLE</title><link>https://devzone.nordicsemi.com/thread/208002?ContentTypeID=1</link><pubDate>Wed, 04 Sep 2019 14:25:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3dad9289-99fd-4975-9a96-07d5be4fd79f</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;In the sdk_config.h file, set SPI_CONFIG_LOG_ENABLED to 0. I think that should&amp;nbsp;fix your problem.&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>