<?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>Logger Module Config Question SDK12</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18307/logger-module-config-question-sdk12</link><description>I want to enable the Logger Module to have the high default severity of Error and then be able to enable lower level severities on an individual module for debugging. Is this possible with the current API?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 12 Aug 2018 20:16:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18307/logger-module-config-question-sdk12" /><item><title>RE: Logger Module Config Question SDK12</title><link>https://devzone.nordicsemi.com/thread/143823?ContentTypeID=1</link><pubDate>Sun, 12 Aug 2018 20:16:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6074a935-ba69-462f-a977-0d1a648a509f</guid><dc:creator>Eliot Stock</dc:creator><description>&lt;p&gt;I found this very counter-intuitive. I really expected it to work the way Darren did.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logger Module Config Question SDK12</title><link>https://devzone.nordicsemi.com/thread/70705?ContentTypeID=1</link><pubDate>Mon, 02 Jan 2017 12:41:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1cfa839a-b41d-4222-a285-e7d58dfe454b</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Darren&lt;/p&gt;
&lt;p&gt;We&amp;#39;re here to help, I am glad to hear you found the solution :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logger Module Config Question SDK12</title><link>https://devzone.nordicsemi.com/thread/70704?ContentTypeID=1</link><pubDate>Tue, 20 Dec 2016 21:40:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9ed3eeb-0e98-4c56-b5e9-93345b4c7da5</guid><dc:creator>WestCoastDaz</dc:creator><description>&lt;p&gt;Torbjorn,&lt;/p&gt;
&lt;p&gt;Thanks for taking the time to look into this and provide me an answer!  As your collegue pointed out I already changed the macros in the file from &amp;amp;&amp;amp; to || and changed&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#ifndef NRF_LOG_LEVEL
    #define NRF_LOG_LEVEL NRF_LOG_DEFAULT_LEVEL
#endif
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;to&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#ifndef NRF_LOG_LEVEL
    #define NRF_LOG_LEVEL 0
#endif
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;As usual the Nordic support team is great!&lt;/p&gt;
&lt;p&gt;Cheers,
Darren&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logger Module Config Question SDK12</title><link>https://devzone.nordicsemi.com/thread/70703?ContentTypeID=1</link><pubDate>Tue, 20 Dec 2016 09:08:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:523956b9-b3b3-4dc3-860b-8ba6fd1334ef</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi again&lt;/p&gt;
&lt;p&gt;Apparently the idea was to be able to limit the logs globally, without having to change every module, rather than being able to give one module a lower log level than the default.&lt;/p&gt;
&lt;p&gt;As he pointed out you could change the nrf_log_internal.h file easily to work the way you propose, by changing the &amp;amp;&amp;amp; to || inside the various NRF_LOG_INTERNAL_.... macros in nrf_log_internal.h (between lines 99 to 164).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logger Module Config Question SDK12</title><link>https://devzone.nordicsemi.com/thread/70702?ContentTypeID=1</link><pubDate>Thu, 15 Dec 2016 14:25:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ab95c70-ea98-4005-bcec-245ef7e0c44f</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Darren&lt;/p&gt;
&lt;p&gt;I will check with the guy that wrote the library. He has been unavailable all day, but as soon as I get in touch with him I will get back to you ;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logger Module Config Question SDK12</title><link>https://devzone.nordicsemi.com/thread/70701?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2016 18:30:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83357a40-9349-4456-a258-170d4f688304</guid><dc:creator>WestCoastDaz</dc:creator><description>&lt;p&gt;Torbjon,&lt;/p&gt;
&lt;p&gt;Can you comment on why that choice was made it seems to me this makes the logger module less useful?  Would Nordic consider changing the API to include the operation I have outlined above?&lt;/p&gt;
&lt;p&gt;Thanks,
Darren&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logger Module Config Question SDK12</title><link>https://devzone.nordicsemi.com/thread/70700?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2016 16:59:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9edb940-fefa-470d-b73e-1924d9b5c0e0</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Darren&lt;/p&gt;
&lt;p&gt;No, this is not possible without changing the logger API.&lt;/p&gt;
&lt;p&gt;If you take a look at the implementation in nrf_log_internal.h you can see that the log messages will only be included if both the default log level and the module specific log level is lower or equal to that of the current message.&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;
Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>