<?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 see the NRF_LOG_INFO() log?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106314/how-to-see-the-nrf_log_info-log</link><description>Hi, 
 My environment: 
 MDK IDE-Version: V5.38.0.0 SKD v17.1.0 nRF52-DK PCA10040 / s132 
 I tried to set &amp;quot;NRF_LOG_BACKEND*&amp;quot; in sdk_config.h, all of the definitions are enabled and I still can not see the &amp;quot;NRF_LOG_INFO()&amp;quot; log!? 
 How(Where) do I see the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 06 Dec 2023 02:59:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106314/how-to-see-the-nrf_log_info-log" /><item><title>RE: How to see the NRF_LOG_INFO() log?</title><link>https://devzone.nordicsemi.com/thread/459090?ContentTypeID=1</link><pubDate>Wed, 06 Dec 2023 02:59:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:010e2d89-c29b-4161-ae0d-f366ea0f5e33</guid><dc:creator>William.SportsArt</dc:creator><description>&lt;p&gt;Hi Karl,&lt;/p&gt;
&lt;p&gt;There are 2 ways to see the debug log:&lt;/p&gt;
&lt;p&gt;1. Using printf() and then debug string redirect to UART. (Figure 1)&lt;/p&gt;
&lt;p&gt;2. Using NRF_LOG_INFO()and then debug string redirect to Segger J-Link Viewer. (Figure 2)&lt;/p&gt;
&lt;p&gt;These 2 ways also see the main.c of example. (Figure 3)&lt;/p&gt;
&lt;p&gt;Now, I can see the log, thank you.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt="Figure 1" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/NB_5F00_Image_5F00_20231206_5F00_105249.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt="Figure 2" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/NB_5F00_Image_5F00_20231206_5F00_104646.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt="Figure 3" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/NB_5F00_Image_5F00_20231206_5F00_104504.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to see the NRF_LOG_INFO() log?</title><link>https://devzone.nordicsemi.com/thread/458889?ContentTypeID=1</link><pubDate>Tue, 05 Dec 2023 08:41:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28cbd5f9-ae69-4520-b7f9-65200644eed8</guid><dc:creator>Karl Ylvisaker</dc:creator><description>[quote user="William.SportsArt"]Thank you reply.[/quote]
&lt;p&gt;No problem at all, I am happy to help! :)&amp;nbsp;&lt;br /&gt;&lt;br /&gt;The sdk_config.h shows that it is the RTT backend that is enabled for the NRF_LOG module, and so you will either need to use the&amp;nbsp;&lt;em&gt;Debug terminal&lt;/em&gt; in SES, or the &lt;em&gt;Segger RTT Viewer&lt;/em&gt; standalone desktop application to see the log output. The reason for this is that the BLE UART application already uses the UART for the application, and so it can not also be used for the logger.&lt;br /&gt;Please try either one of these options, and let me know if you then are able to see your logs.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to see the NRF_LOG_INFO() log?</title><link>https://devzone.nordicsemi.com/thread/458847?ContentTypeID=1</link><pubDate>Tue, 05 Dec 2023 01:07:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f83353bf-0009-4713-a65a-12b93dcbd459</guid><dc:creator>William.SportsArt</dc:creator><description>&lt;p&gt;Hi Karl,&lt;/p&gt;
&lt;p&gt;Thank you reply.&lt;/p&gt;
&lt;p&gt;The project works with an example from&amp;nbsp;&lt;br /&gt;&amp;quot;\nRF52-DK\nRF5_SDK_17.1.0_ddde560\examples\ble_central\ble_app_uart_c\pca10040\s132\arm5_no_packs&amp;quot;.&lt;br /&gt;The sdk_config.h is in the attachment.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/NB_5F00_Image_5F00_20231205_5F00_090153.png" /&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8473.sdk_5F00_config.h"&gt;devzone.nordicsemi.com/.../8473.sdk_5F00_config.h&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to see the NRF_LOG_INFO() log?</title><link>https://devzone.nordicsemi.com/thread/458685?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2023 09:30:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f2c7ed3-e358-48b7-bb5d-1083fa8f066f</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;Are you working with an example from the SDK?&lt;br /&gt;The default logger output will be over UART, and so you may see the logs using a serial terminal/monitor if you have set the log level high enough to be output.&lt;br /&gt;If you are using the BLE UART examples then the default logger output will be RTT, in which case you can see it in the &amp;#39;debug terminal&amp;#39; or standalone RTT Viewer application from Segger.&lt;br /&gt;&lt;br /&gt;Could you share your sdk_config.h file, so that I can verify if there&amp;#39;s any issues with the configuration?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>