<?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 Logs in Zigbee2MQTT</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71136/nrf-logs-in-zigbee2mqtt</link><description>I am using the light bulb example and connecting to the Zigbee2MQTT. The Z2M is running on a docker with logs level set to debug. 
 So from the light bulb example, how can I publish the debug logs to Z2M? I have tried 
 NRF_LOG_WARNING(&amp;quot;Text1&amp;quot;); NRF_LOG_INTERNAL_DEBUG</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Feb 2021 14:59:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71136/nrf-logs-in-zigbee2mqtt" /><item><title>RE: NRF Logs in Zigbee2MQTT</title><link>https://devzone.nordicsemi.com/thread/292518?ContentTypeID=1</link><pubDate>Tue, 02 Feb 2021 14:59:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:598e113f-dddb-4743-a42c-e101faefb938</guid><dc:creator>Manju_rn</dc:creator><description>&lt;p&gt;Thanks so much for the help - let me work on the UART connections.&amp;nbsp; Parallely let me see what ZCL can I use to bundle the log info&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Logs in Zigbee2MQTT</title><link>https://devzone.nordicsemi.com/thread/292452?ContentTypeID=1</link><pubDate>Tue, 02 Feb 2021 11:37:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df57c789-d66f-4518-8742-09e129581044</guid><dc:creator>Edvin</dc:creator><description>[quote user="Manju_rn"]Is there a way&amp;nbsp;the log info can be encapsulated in any cluster so that it could be displayed in Z2M logs?&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;That is not trivial. In that case you would have to create a cluster that does this. It sounds like a lot of work. I suggest you debug locally.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you are using a Dongle, the UART is not routed through the USB port as it is on a DK, because the Dongle doesn&amp;#39;t have a debugger. If you intend to develop something, I suggest that you get hold of a DK, which includes a debugger. The alternative is to use some external UART -&amp;gt; USB device, and use the pinout on the dongle to solder on some wires to the UART-&amp;gt;USB device.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The dongle is really not great for application development. You will save yourself a lot of trouble using a DK. The alternative is that you write a USB backend for the dongle, but this is easier said than done, and it would also probably be easier to do on a DK. This is probably not the answer you are looking for, and I am sorry for that.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Logs in Zigbee2MQTT</title><link>https://devzone.nordicsemi.com/thread/292358?ContentTypeID=1</link><pubDate>Tue, 02 Feb 2021 05:10:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64812f4b-21ff-4e52-a326-a855936df400</guid><dc:creator>Manju_rn</dc:creator><description>&lt;p&gt;Thanks about the info on the&amp;nbsp;&lt;span&gt;NRF_LOG_WARNING...&amp;nbsp; Is there a way&amp;nbsp;the log info can be encapsulated in any cluster so that it could be displayed in Z2M logs?&amp;nbsp; basically Z2M (actually zigbee-herdsmen) will provide the details of any&amp;nbsp;broadcast from zigbee devices.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;On the UART, the moment I load the .hex&amp;nbsp;file in the dongle, the dongle disconnects from the COM port. Or is there a way to still keep the UART connection after the .hex is loaded?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Logs in Zigbee2MQTT</title><link>https://devzone.nordicsemi.com/thread/292273?ContentTypeID=1</link><pubDate>Mon, 01 Feb 2021 14:19:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f531029c-2368-4514-81c3-439eddf9b4f5</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I don&amp;#39;t thing you will be able to do that.&lt;/p&gt;
&lt;p&gt;What you write inside NRF_LOG_WARNING/DEBUG/INTERNAL_DEBUG/INFO() is printed in the log from the nRF, not the other devices in the network. The light bulb example only has the light bulb&amp;#39;s on off cluster, and the bightness, so no way to communicate these logs to the Z2M device.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Have you tried monitoring the UART log from the nRF device? UART is the default log backend on the light_bulb example. It uses the baudrate&amp;nbsp;NRF_LOG_BACKEND_UART_BAUDRATE set in sdk_config.h in the light bulb example (1000000 by default, I believe).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>