<?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>What is logger message pool?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/31996/what-is-logger-message-pool</link><description>What is the logger message pool? There are two main definitions for it: 
 
 NRF_LOG_MSGPOOL_ELEMENT_COUNT 
 NRF_LOG_MSGPOOL_ELEMENT_SIZE 
 
 However it is not clear what it is used for?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Mar 2018 15:44:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/31996/what-is-logger-message-pool" /><item><title>RE: What is logger message pool?</title><link>https://devzone.nordicsemi.com/thread/124428?ContentTypeID=1</link><pubDate>Wed, 14 Mar 2018 15:44:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bbc93ef-0ce8-4c8a-a83a-c202366bc139</guid><dc:creator>nameofuser1</dc:creator><description>&lt;p&gt;Thanks! Could you provide a link to a source please?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is logger message pool?</title><link>https://devzone.nordicsemi.com/thread/124419?ContentTypeID=1</link><pubDate>Wed, 14 Mar 2018 15:12:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a572e01d-be4c-41d0-b930-8ef877cb1a83</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Sorry. It seems I had misunderstood how this works.&lt;/p&gt;
&lt;p&gt;This is what I recently found out:&lt;/p&gt;
&lt;p&gt;Whenever you log something, it is put in a buffer, of size NRF_LOG_BUFSIZE. This is part of the the &amp;quot;log frontend&amp;quot;.&lt;/p&gt;
&lt;p&gt;Either at a later point (deferred logging) or right away (not deferred logging), the log entry is processed. During processing, the log entry is fetched out of the buffer and provided for the log backend for actually getting sent somewhere as a line of text. This is where the memory pool is used, for sending the log entry from the log frontend to the log backend. NRF_LOG_MSGPOOL_ELEMENT_COUNT and NRF_LOG_MSGPOOL_ELEMENT_SIZE is for configuring the memory pool.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is logger message pool?</title><link>https://devzone.nordicsemi.com/thread/124398?ContentTypeID=1</link><pubDate>Wed, 14 Mar 2018 14:11:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61b4481b-15e0-44cb-8b28-9dd1e24b65f5</guid><dc:creator>nameofuser1</dc:creator><description>&lt;p&gt;What about&amp;nbsp;NRF_LOG_BUFSIZE then? Does it not keep all the logs? I thought that every log is processed and then pushed into this buffer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is logger message pool?</title><link>https://devzone.nordicsemi.com/thread/124008?ContentTypeID=1</link><pubDate>Mon, 12 Mar 2018 16:22:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:879b11e6-b89c-41e2-9927-117f357202e1</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;When using deferred logging, the log module uses a memory pool to store logging contents. Those settings set the count (number of entries) and size (number of bytes for each entrry) for that memory pool. They are usually best kept as is, as the default values are chosen to work well with current logging usage patterns in the SDK. In general there is a trade-off between RAM usage (higher for higher values) and performance (better for higher values). See &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v14.2.0%2Fgroup__nrf__log__config.html&amp;amp;anchor=gab4ef180f32c4543beae00be4b140f6c1"&gt;descriptions in the logger module API reference documentation&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>