<?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>Can not disable nus_c logging</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52905/can-not-disable-nus_c-logging</link><description>Hi Nordic, 
 As far as I can see, there is BLE_NUS_CONFIG_LOG_ENABLED defined for ble_nus in sdk_config.h. However, I cannot find the similar BLE_NUS_C_CONFIG_LOG_ENABLED for ble_nus_c. 
 Is it missing? Or it is designed like this? 
 I found this issue</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 07 Oct 2019 08:03:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52905/can-not-disable-nus_c-logging" /><item><title>RE: Can not disable nus_c logging</title><link>https://devzone.nordicsemi.com/thread/213559?ContentTypeID=1</link><pubDate>Mon, 07 Oct 2019 08:03:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6064bca3-0ac9-4ff3-ba39-5db4da26989a</guid><dc:creator>nine-fox</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Andreas, thanks for your confirmation!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can not disable nus_c logging</title><link>https://devzone.nordicsemi.com/thread/213552?ContentTypeID=1</link><pubDate>Mon, 07 Oct 2019 07:46:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:178d330a-84b5-4518-9cbd-b94f99e1e334</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi Vincent.&lt;/p&gt;
[quote user=""]BLE_NUS_C_CONFIG_LOG_ENABLED [/quote]
&lt;p&gt;&amp;nbsp;It is not defined as you say. The central uses the global NRF_LOG_ENABLED to enable/disable logging.&lt;/p&gt;
&lt;p&gt;You could try to implement it yourself by having a look at the peripheral sides implementation.&lt;/p&gt;
&lt;p&gt;If you look at &lt;strong&gt;ble_nus.c&lt;/strong&gt;, you have the definition of that macro there;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/589x278/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-08bb08b091c249f691ac662fd2010f72/pastedimage1570434355216v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;You can port it if you like.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>