<?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>Logging Flash Backend</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/123438/logging-flash-backend</link><description>Hello, 
 
 I am currently using the bt and uart backend for zephyr logging on ncs 2.9.2. I want to be able to save logs to flash which will be useful in debugging/ and be able to download the logs from shell interface. I have seen a few documents that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 08 Aug 2025 06:08:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/123438/logging-flash-backend" /><item><title>RE: Logging Flash Backend</title><link>https://devzone.nordicsemi.com/thread/545013?ContentTypeID=1</link><pubDate>Fri, 08 Aug 2025 06:08:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f012e78c-801b-418a-a223-d95aa0941fd5</guid><dc:creator>mkscheble</dc:creator><description>&lt;p&gt;Got it working, thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logging Flash Backend</title><link>https://devzone.nordicsemi.com/thread/544963?ContentTypeID=1</link><pubDate>Thu, 07 Aug 2025 14:16:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9035aef2-a3e0-4792-95fd-32aefd63b046</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;&lt;span&gt;The &amp;quot;tests/subsys/logging/log_backend_fs&amp;quot; might be useful.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kenneth&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logging Flash Backend</title><link>https://devzone.nordicsemi.com/thread/544865?ContentTypeID=1</link><pubDate>Thu, 07 Aug 2025 04:54:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4c8b195-67fb-4202-8707-0627f9fcab44</guid><dc:creator>mkscheble</dc:creator><description>&lt;p&gt;Hi Kenneth, I&amp;nbsp;put aside 16 kb for my log partition (I just want to store the previous power cycles log). This matches across my pm_static.yml and overlay file. I also added the following kconfig. From here, I get build errors when adding the mounting point (above). What else do I need to add? Is there any examples that I can&amp;nbsp;look at that could help me out? Thanks in advance.&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_FILE_SYSTEM=y
CONFIG_LOG_BACKEND_FS=y
CONFIG_LOG_BACKEND_FS_DIR=&amp;quot;/lfs&amp;quot;
CONFIG_LOG_BACKEND_FS_FILES_LIMIT=2
CONFIG_LOG_BACKEND_FS_AUTOSTART=y
CONFIG_FILE_SYSTEM_LITTLEFS=y
&lt;/pre&gt;&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1754542294091v1.png" /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1754542360864v2.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logging Flash Backend</title><link>https://devzone.nordicsemi.com/thread/544617?ContentTypeID=1</link><pubDate>Tue, 05 Aug 2025 12:11:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bae56346-5ecd-47d8-ab1d-d58e4a3985b6</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sorry, don&amp;#39;t know (based on the linked case it looks to be required).&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logging Flash Backend</title><link>https://devzone.nordicsemi.com/thread/544546?ContentTypeID=1</link><pubDate>Tue, 05 Aug 2025 05:20:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3ace701-a773-4218-99ab-66fc76efea28</guid><dc:creator>mkscheble</dc:creator><description>&lt;p&gt;Thanks Kenneth! Do I still need to manually mount&lt;/p&gt;
&lt;div&gt;&lt;span&gt;struct&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;fs_mount_t&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;*&lt;/span&gt;&lt;span&gt;mp&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;amp;&lt;/span&gt;&lt;span&gt;FS_FSTAB_ENTRY&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;PARTITION_NODE&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span&gt;rc&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;fs_mount&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;mp&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; rc&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;fs_opendir&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;&amp;amp;&lt;/span&gt;&lt;span&gt;dir&lt;/span&gt;&lt;span&gt;,&amp;nbsp;&lt;/span&gt;&lt;span&gt;CONFIG_LOG_BACKEND_FS_DIR and change my memory mapping?&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logging Flash Backend</title><link>https://devzone.nordicsemi.com/thread/544454?ContentTypeID=1</link><pubDate>Mon, 04 Aug 2025 12:43:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bedab7d9-b6b0-43f2-8b45-9647f0581e0e</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you check out this case:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/114837/demo-about-config_log_backend_fs-y"&gt;demo about CONFIG_LOG_BACKEND_FS=y&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>