<?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>Implementing my own NRF_LOG backend.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48421/implementing-my-own-nrf_log-backend</link><description>Hi, 
 I am beginner in nordic development. 
 Requirement: I need to store logs in internal file system. 
 Device - nrf52840 DK, 
 SDK - nRF5_SDK_15.3.0 
 I understand that nrf_log output is limited to backends - UART/RTT/CLI, But I want to log into a</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Jun 2019 09:37:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48421/implementing-my-own-nrf_log-backend" /><item><title>RE: Implementing my own NRF_LOG backend.</title><link>https://devzone.nordicsemi.com/thread/191993?ContentTypeID=1</link><pubDate>Tue, 11 Jun 2019 09:37:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b3f0e1e-b266-41da-9f0f-e6ba235870d6</guid><dc:creator>xcepti0n</dc:creator><description>&lt;p&gt;Yes I have gone through the nrf_log documentation. I know that nordic provides option to log to flash but for my use-case I want to store logs into a file with daily or hourly rotation functionality. As far I have understood from the flash backend implementation, it writes to a memory location instead of using a file system (eg. fatfs).&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t have much experience with embedded but I know a bit. Always happy to learn something.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing my own NRF_LOG backend.</title><link>https://devzone.nordicsemi.com/thread/191957?ContentTypeID=1</link><pubDate>Tue, 11 Jun 2019 08:33:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfbe5f45-2460-4248-be81-e6dab5a9e2cf</guid><dc:creator>awneil</dc:creator><description>[quote userid="79944" url="~/f/nordic-q-a/48421/implementing-my-own-nrf_log-backend"]I am beginner in nordic development[/quote]
&lt;p&gt;Do you have experience in any other type(s) of development - particularly, other embedded microcontroller(s) ?&lt;/p&gt;
&lt;p&gt;Have you studied the Logger module documentation:&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?cp=5_1_3_26"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/lib_nrf_log.html?cp=5_1_3_26&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/group__nrf__log.html"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/group__nrf__log.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Backend API:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/group__nrf__log__backend__interface.html"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/group__nrf__log__backend__interface.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Note that there is already an option to log to Flash:&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?cp=5_1_3_26_5_0#nrf_log_backend_flash"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/lib_nrf_log.html?cp=5_1_3_26_5_0#nrf_log_backend_flash&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>