<?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 LOG_INF, LOG_WRN messages, preferably in real time</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/116775/how-to-see-log_inf-log_wrn-messages-preferably-in-real-time</link><description>Al over these example programs there are all these messages like 
 
 LOG_INF ( &amp;quot;Filters matched. Address: %s connectable: %d &amp;quot; , 
 addr , connectable ); 
 
 How do you actually *see* them? The best bet would be have them spit out over the USB 
 connection</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 28 Nov 2024 13:04:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/116775/how-to-see-log_inf-log_wrn-messages-preferably-in-real-time" /><item><title>RE: How to see LOG_INF, LOG_WRN messages, preferably in real time</title><link>https://devzone.nordicsemi.com/thread/512580?ContentTypeID=1</link><pubDate>Thu, 28 Nov 2024 13:04:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ec7d571-466f-41fb-ac3b-caa6b91ddfe4</guid><dc:creator>DiBosco</dc:creator><description>&lt;p&gt;I think I finally might have got somewhere with&amp;nbsp; this. Found a third party article that explains it a bit more clearly. Am finally getting some stuff spat out to Terminal in&amp;nbsp; VSC. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to see LOG_INF, LOG_WRN messages, preferably in real time</title><link>https://devzone.nordicsemi.com/thread/512534?ContentTypeID=1</link><pubDate>Thu, 28 Nov 2024 09:25:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c95f30d-f691-47ba-8a9b-cf4075d0a08a</guid><dc:creator>DiBosco</dc:creator><description>&lt;p&gt;Hi, Sorry to be a pain, but this isn&amp;#39;t helping me at all. &lt;br /&gt;&lt;br /&gt;I can see those connected devices, but what do I do with them? How do I get things like this:&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;div style="background-color:#ffffff;color:#000000;font-family:&amp;#39;Droid Sans Mono&amp;#39;, &amp;#39;monospace&amp;#39;, monospace;font-size:14px;font-weight:normal;line-height:19px;white-space:pre;"&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;LOG_ERR&lt;/span&gt;&lt;span style="color:#000000;"&gt;(&lt;/span&gt;&lt;span style="color:#a31515;"&gt;&amp;quot;could not start the discovery procedure, error &amp;quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#000000;"&gt; &lt;/span&gt;&lt;span style="color:#a31515;"&gt;&amp;quot;code: &lt;/span&gt;&lt;span style="color:#001080;"&gt;%d&lt;/span&gt;&lt;span style="color:#a31515;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:#000000;"&gt;, &lt;/span&gt;&lt;span style="color:#001080;"&gt;err&lt;/span&gt;&lt;span style="color:#000000;"&gt;);&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div style="background-color:#ffffff;color:#000000;font-family:&amp;#39;Droid Sans Mono&amp;#39;, &amp;#39;monospace&amp;#39;, monospace;font-size:14px;font-weight:normal;line-height:19px;white-space:pre;"&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;LOG_INF&lt;/span&gt;&lt;span style="color:#000000;"&gt;(&lt;/span&gt;&lt;span style="color:#a31515;"&gt;&amp;quot;MTU exchange done&amp;quot;&lt;/span&gt;&lt;span style="color:#000000;"&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style="background-color:#ffffff;color:#000000;font-family:&amp;#39;Droid Sans Mono&amp;#39;, &amp;#39;monospace&amp;#39;, monospace;font-size:14px;font-weight:normal;line-height:19px;white-space:pre;"&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;LOG_WRN&lt;/span&gt;&lt;span style="color:#000000;"&gt;(&lt;/span&gt;&lt;span style="color:#a31515;"&gt;&amp;quot;MTU exchange failed (err %&amp;quot;&lt;/span&gt;&lt;span style="color:#000000;"&gt; &lt;/span&gt;&lt;span style="color:#0000ff;"&gt;PRIu8&lt;/span&gt;&lt;span style="color:#000000;"&gt; &lt;/span&gt;&lt;span style="color:#a31515;"&gt;&amp;quot;)&amp;quot;&lt;/span&gt;&lt;span style="color:#000000;"&gt;, &lt;/span&gt;&lt;span style="color:#001080;"&gt;err&lt;/span&gt;&lt;span style="color:#000000;"&gt;);&lt;br /&gt;&lt;br /&gt;Appearing somewhere? I am guessing they get stored in a log &lt;br /&gt;file somewhere? Where? And even better can I make them appear, &lt;br /&gt;in real time, in some kind of debug window, whether it be a &lt;br /&gt;standard serial terminal like Cutecom, or in VSC? &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If it is possible what are the &lt;em&gt;exact&lt;/em&gt; steps needed to make this &lt;br /&gt;happen?&lt;br /&gt;&lt;br /&gt;I did manage after hours of trying one thing and another to get&lt;/div&gt;
&lt;div&gt;stuff coming out of /dev/ttyACM0 in a termninal window on VSC, but&lt;/div&gt;
&lt;div&gt;it just shoves out exactly&lt;/div&gt;
&lt;div&gt;what comes out of the standard UART.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to see LOG_INF, LOG_WRN messages, preferably in real time</title><link>https://devzone.nordicsemi.com/thread/512452?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2024 21:27:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a486bafc-9b97-466b-b38b-438bb50069c1</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;easiest way to open COM port in VS code, is to do it from the Connected device view:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/nrf-connect-vscode/page/reference/ui_sidebar_connected_devices.html#view-actions"&gt;https://docs.nordicsemi.com/bundle/nrf-connect-vscode/page/reference/ui_sidebar_connected_devices.html#view-actions&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/nrf-connect-vscode/page/guides/bd_work_with_boards.html#how-to-connect-using-serial-port"&gt;https://docs.nordicsemi.com/bundle/nrf-connect-vscode/page/guides/bd_work_with_boards.html#how-to-connect-using-serial-port&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to see LOG_INF, LOG_WRN messages, preferably in real time</title><link>https://devzone.nordicsemi.com/thread/512411?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2024 15:03:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a4affac-197b-459a-a11a-7d5f11ef8b07</guid><dc:creator>DiBosco</dc:creator><description>&lt;p&gt;Sorry to mither, but any chance of a reply on this please? &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to see LOG_INF, LOG_WRN messages, preferably in real time</title><link>https://devzone.nordicsemi.com/thread/512388?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2024 14:03:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0cd28c0-ebec-4ecd-b841-a66643ef1704</guid><dc:creator>DiBosco</dc:creator><description>&lt;p&gt;I do have the extension pack installed, but there&amp;#39;s no nrf terminal available. There&amp;#39;s nrf&amp;nbsp; serial&amp;nbsp; terminal and nrf debug. &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to see LOG_INF, LOG_WRN messages, preferably in real time</title><link>https://devzone.nordicsemi.com/thread/512379?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2024 13:45:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ae63a3a-6a9a-4347-a178-bff3d3c3d089</guid><dc:creator>Sigurd</dc:creator><description>[quote user=""]How do you actually *see* them?[/quote]
&lt;p&gt;If you are already using a sample that uses LOG&amp;nbsp;&lt;span&gt;messages, and looking for a tool that sees the logs, then I suggest either:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;1) If you are using VS Code, we have the nRF terminal:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=nordic-semiconductor.nrf-terminal"&gt;https://marketplace.visualstudio.com/items?itemName=nordic-semiconductor.nrf-terminal&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2) You could also use&amp;nbsp;our&amp;nbsp;Serial Terminal app:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/nrf-connect-serial-terminal/page/index.html"&gt;https://docs.nordicsemi.com/bundle/nrf-connect-serial-terminal/page/index.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to see LOG_INF, LOG_WRN messages, preferably in real time</title><link>https://devzone.nordicsemi.com/thread/512375?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2024 13:33:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77a08632-2d74-48dd-9346-cc0076526d28</guid><dc:creator>DiBosco</dc:creator><description>&lt;p&gt;Thanks, but that doesn&amp;#39;t really help in terms of how you&amp;#39;d assign it, set it up, point the debugging info/LOG messages etc to the different UART&amp;nbsp; and it doesn&amp;#39;t address whether it&amp;#39;s possible with minimal effort with the segger interface.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to see LOG_INF, LOG_WRN messages, preferably in real time</title><link>https://devzone.nordicsemi.com/thread/512373?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2024 13:30:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9deab0a0-3eae-4098-a159-1afa502cf2e1</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;The nRF52840 has 2 UARTE instances, so you can use one for logging and the other your application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>