<?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>Keep enabled NRF_LOG for specific files and disable for others, is it possible?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/53447/keep-enabled-nrf_log-for-specific-files-and-disable-for-others-is-it-possible</link><description>Hello Devs, 
 
 I have enabled NRF_LOG in my project, but I would like to disable it in, for example, the main.c file, but keep it working in others files. 
 at the moment my solution is using a #ifdef directive and place it where I want disable the logging</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Oct 2019 16:08:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/53447/keep-enabled-nrf_log-for-specific-files-and-disable-for-others-is-it-possible" /><item><title>RE: Keep enabled NRF_LOG for specific files and disable for others, is it possible?</title><link>https://devzone.nordicsemi.com/thread/216002?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2019 16:08:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a67f1e5-20e4-4e6a-8793-52d3987e5242</guid><dc:creator>Arepa</dc:creator><description>&lt;p&gt;excellent solution thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Keep enabled NRF_LOG for specific files and disable for others, is it possible?</title><link>https://devzone.nordicsemi.com/thread/215806?ContentTypeID=1</link><pubDate>Sun, 20 Oct 2019 21:55:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04513881-8fe5-48e5-b5f9-d54bb1860178</guid><dc:creator>slapab</dc:creator><description>&lt;p&gt;Yes, read this&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/lib_nrf_log.html"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/lib_nrf_log.html&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;and take note about &amp;quot;Logger customization&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>