<?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>Zephyr logger: how to enable timestamp</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83682/zephyr-logger-how-to-enable-timestamp</link><description>I&amp;#39;m using the logger (LOG_INF, LOG)_DBG...etc) to print out debug messages. I&amp;#39;d like to have timestamp printed out. Right now it looks like this: D: xxxx or I: xxxxx 
 I found 3 CONFIGs that has the word timestamp in it. But seems none of them work. I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 17 Feb 2022 16:03:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83682/zephyr-logger-how-to-enable-timestamp" /><item><title>RE: Zephyr logger: how to enable timestamp</title><link>https://devzone.nordicsemi.com/thread/353680?ContentTypeID=1</link><pubDate>Thu, 17 Feb 2022 16:03:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82211971-5254-43ed-a891-52df37a23299</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This is the latest documentation for &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/CONFIG_LOG_BACKEND_FORMAT_TIMESTAMP.html"&gt;CONFIG_LOG_BACKEND_FORMAT_TIMESTAMP&lt;/a&gt;&amp;nbsp;and there are some changes to the direct dependencies. Could you try removing the CONFIG_LOG_MINIMAL from your prj.conf as this is no longer a direct dependency?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And still if the error persists, could you once again upload your prj.conf?&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr logger: how to enable timestamp</title><link>https://devzone.nordicsemi.com/thread/352452?ContentTypeID=1</link><pubDate>Thu, 10 Feb 2022 22:52:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40f95b65-2580-449a-b900-564fa1d2fb8c</guid><dc:creator>bluebeam</dc:creator><description>&lt;p&gt;I have mentioned earlier that I can&amp;#39;t set CONFIG_LOG_MINIMAL. See the error log below.&lt;/p&gt;
&lt;p&gt;=====================================================================&lt;/p&gt;
&lt;p&gt;Parsing C:/work/bbotg/spot/fw9160/Kconfig&lt;br /&gt;Loaded configuration &amp;#39;C:/work/ncs/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_ns_defconfig&amp;#39;&lt;br /&gt;Merged configuration &amp;#39;C:/work/bbotg/spot/fw9160/prj.conf&amp;#39;&lt;br /&gt;&lt;br /&gt;error: LOG_MINIMAL (defined at subsys/logging\Kconfig.mode:74) is assigned in a configuration file,&lt;br /&gt;but &lt;span style="color:#ff0000;"&gt;&lt;strong&gt;is not directly user-configurable&lt;/strong&gt;&lt;/span&gt; (has no prompt). It gets its value indirectly from other&lt;br /&gt;symbols. See &lt;a href="http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_LOG_MINIMAL.html"&gt;docs.zephyrproject.org/.../CONFIG_LOG_MINIMAL.html&lt;/a&gt; and/or&lt;br /&gt;look up LOG_MINIMAL in the menuconfig/guiconfig interface. The Application Development Primer,&lt;br /&gt;Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be&lt;br /&gt;helpful too.&lt;br /&gt;&lt;br /&gt;CMake Error at C:/work/ncs/zephyr/cmake/kconfig.cmake:268 (message):&lt;br /&gt;&amp;nbsp; command failed with return code: 1&lt;br /&gt;Call Stack (most recent call first):&lt;br /&gt;&amp;nbsp; C:/work/ncs/zephyr/cmake/app/boilerplate.cmake:554 (include)&lt;br /&gt;&amp;nbsp; C:/work/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)&lt;br /&gt;&amp;nbsp; C:/work/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:40 (include_boilerplate)&lt;br /&gt;&amp;nbsp; CMakeLists.txt:9 (find_package)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr logger: how to enable timestamp</title><link>https://devzone.nordicsemi.com/thread/351488?ContentTypeID=1</link><pubDate>Mon, 07 Feb 2022 10:05:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97ea1a0f-fda6-401f-a911-6bba72031964</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It looks like all the error messages have the LOG_MINIMAL condition unsatisfied. This could be wrong, but could you try setting CONFIG_LOG_MINIMAL=y ?&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr logger: how to enable timestamp</title><link>https://devzone.nordicsemi.com/thread/351413?ContentTypeID=1</link><pubDate>Sat, 05 Feb 2022 00:12:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ececb0a8-2295-4243-aaf2-0cfeab2a0f71</guid><dc:creator>bluebeam</dc:creator><description>&lt;p&gt;Unfortunately it doesn&amp;#39;t work. Both CONFIG_LOG_MINIMAL and CONFIG_LOG_DEFAULT_MINIMAL will cause compilation error:&lt;/p&gt;
&lt;p&gt;//==============================================================================&lt;/p&gt;
&lt;p&gt;-- west build: generating a build system&lt;br /&gt;Including boilerplate (Zephyr base): C:/work/ncs/zephyr/cmake/app/boilerplate.cmake&lt;br /&gt;-- Application: C:/work/bbotg/spot/fw9160&lt;br /&gt;-- Zephyr version: 2.6.99 (C:/work/ncs/zephyr), build: v2.6.99-ncs1-1&lt;br /&gt;-- Found Python3: C:/Python39/python.exe (found suitable exact version &amp;quot;3.9.6&amp;quot;) found components: Interpreter&lt;br /&gt;-- Found west (found suitable version &amp;quot;0.11.0&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)&lt;br /&gt;-- Board: nrf9160dk_nrf9160_ns, Revision: 0.7.0&lt;br /&gt;-- Cache files will be written to: C:/work/ncs/zephyr/.cache&lt;br /&gt;-- Found toolchain: gnuarmemb (C:/gnuarmemb)&lt;br /&gt;-- Found BOARD.dts: C:/work/ncs/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_ns.dts&lt;br /&gt;-- Generated zephyr.dts: C:/work/bbotg/spot/fw9160/build_nrf9160dk/zephyr/zephyr.dts&lt;br /&gt;-- Generated devicetree_unfixed.h: C:/work/bbotg/spot/fw9160/build_nrf9160dk/zephyr/include/generated/devicetree_unfixed.h&lt;br /&gt;-- Generated device_extern.h: C:/work/bbotg/spot/fw9160/build_nrf9160dk/zephyr/include/generated/device_extern.h&lt;br /&gt;-- Including generated dts.cmake file: C:/work/bbotg/spot/fw9160/build_nrf9160dk/zephyr/dts.cmake&lt;br /&gt;&lt;br /&gt;warning: LOG_BACKEND_FORMAT_TIMESTAMP (defined at subsys/logging\Kconfig.formatting:61) was assigned&lt;br /&gt;the value &amp;#39;y&amp;#39; but got the value &amp;#39;n&amp;#39;. Check these unsatisfied dependencies: (LOG_BACKEND_UART ||&lt;br /&gt;LOG_BACKEND_NATIVE_POSIX || LOG_BACKEND_RTT || LOG_BACKEND_SWO || LOG_BACKEND_XTENSA_SIM ||&lt;br /&gt;LOG_BACKEND_FS) (=n), (!LOG_MINIMAL) (=n). See&lt;br /&gt;&lt;a href="http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_LOG_BACKEND_FORMAT_TIMESTAMP.html"&gt;docs.zephyrproject.org/.../CONFIG_LOG_BACKEND_FORMAT_TIMESTAMP.html&lt;/a&gt;&lt;br /&gt;and/or look up LOG_BACKEND_FORMAT_TIMESTAMP in the menuconfig/guiconfig interface. The Application&lt;br /&gt;Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of&lt;br /&gt;the manual might be helpful too.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;warning: LOG_PROCESS_THREAD (defined at subsys/logging\Kconfig.processing:58) was assigned the value&lt;br /&gt;&amp;#39;y&amp;#39; but got the value &amp;#39;n&amp;#39;. Check these unsatisfied dependencies: (!LOG_MINIMAL) (=n), (!LOG_MINIMAL)&lt;br /&gt;(=n). See &lt;a href="http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_LOG_PROCESS_THREAD.html"&gt;docs.zephyrproject.org/.../CONFIG_LOG_PROCESS_THREAD.html&lt;/a&gt;&lt;br /&gt;and/or look up LOG_PROCESS_THREAD in the menuconfig/guiconfig interface. The Application Development&lt;br /&gt;Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual&lt;br /&gt;might be helpful too.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;warning: LOG_BUFFER_SIZE (defined at subsys/logging\Kconfig.processing:101) was assigned the value&lt;br /&gt;&amp;#39;8192&amp;#39; but got the value &amp;#39;&amp;#39;. Check these unsatisfied dependencies: (!LOG_MINIMAL) (=n),&lt;br /&gt;(!LOG_MINIMAL) (=n). See&lt;br /&gt;&lt;a href="http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_LOG_BUFFER_SIZE.html"&gt;docs.zephyrproject.org/.../CONFIG_LOG_BUFFER_SIZE.html&lt;/a&gt; and/or look up&lt;br /&gt;LOG_BUFFER_SIZE in the menuconfig/guiconfig interface. The Application Development Primer, Setting&lt;br /&gt;Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful&lt;br /&gt;too.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;warning: LOG_BACKEND_UART (defined at subsys/logging\Kconfig.backends:6) was assigned the value &amp;#39;y&amp;#39;&lt;br /&gt;but got the value &amp;#39;n&amp;#39;. Check these unsatisfied dependencies: (!LOG_MINIMAL) (=n). See&lt;br /&gt;&lt;a href="http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_LOG_BACKEND_UART.html"&gt;docs.zephyrproject.org/.../CONFIG_LOG_BACKEND_UART.html&lt;/a&gt; and/or look up&lt;br /&gt;LOG_BACKEND_UART in the menuconfig/guiconfig interface. The Application Development Primer, Setting&lt;br /&gt;Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful&lt;br /&gt;too.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;C:/work/bbotg/spot/fw9160/prj.conf:22: warning: attempt to assign the value &amp;#39;n&amp;#39; to the undefined symbol LOG_DEFAULT_MINIMAL&lt;br /&gt;Parsing C:/work/bbotg/spot/fw9160/Kconfig&lt;br /&gt;Loaded configuration &amp;#39;C:/work/ncs/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_ns_defconfig&amp;#39;&lt;br /&gt;Merged configuration &amp;#39;C:/work/bbotg/spot/fw9160/prj.conf&amp;#39;&lt;br /&gt;&lt;br /&gt;error: Aborting due to Kconfig warnings&lt;br /&gt;&lt;br /&gt;CMake Error at C:/work/ncs/zephyr/cmake/kconfig.cmake:268 (message):&lt;br /&gt;&amp;nbsp; command failed with return code: 1&lt;br /&gt;Call Stack (most recent call first):&lt;br /&gt;&amp;nbsp; C:/work/ncs/zephyr/cmake/app/boilerplate.cmake:554 (include)&lt;br /&gt;&amp;nbsp; C:/work/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)&lt;br /&gt;&amp;nbsp; C:/work/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate)&lt;br /&gt;&amp;nbsp; CMakeLists.txt:9 (find_package)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-- Configuring incomplete, errors occurred!&lt;br /&gt;FATAL ERROR: command exited with status 1: &amp;#39;C:\Program Files\CMake\bin\cmake.EXE&amp;#39; &amp;#39;-DWEST_PYTHON=c:\python39\python.exe&amp;#39; &amp;#39;-BC:\work\bbotg\spot\fw9160\build_nrf9160dk&amp;#39; &amp;#39;-SC:\work\bbotg\spot\fw9160&amp;#39; -GNinja -DBOARD=nrf9160dk_nrf9160_ns&lt;br /&gt;##### program target #####&lt;br /&gt;-- west flash: rebuilding&lt;br /&gt;Error: could not find CMAKE_PROJECT_NAME in Cache&lt;br /&gt;FATAL ERROR: re-build in build_nrf9160dk failed&lt;/p&gt;
&lt;p&gt;//==============================================================================&lt;/p&gt;
&lt;p&gt;If I remove both, it compiles. But then there&amp;#39;s no timestamp.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr logger: how to enable timestamp</title><link>https://devzone.nordicsemi.com/thread/350795?ContentTypeID=1</link><pubDate>Wed, 02 Feb 2022 09:07:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bba8deb-3d53-4cf2-89fb-afe60c503722</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I will attach the &lt;em&gt;prj.conf&lt;/em&gt; with some modifications. Kindly let me know if this works or even if there is a change in the error logs.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Priyanka&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4377.prj.conf"&gt;devzone.nordicsemi.com/.../4377.prj.conf&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr logger: how to enable timestamp</title><link>https://devzone.nordicsemi.com/thread/350300?ContentTypeID=1</link><pubDate>Sat, 29 Jan 2022 04:21:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5af29bd4-f0f4-4fbf-a2cc-99b7c48965d9</guid><dc:creator>bluebeam</dc:creator><description>&lt;p&gt;Yes I tried. No effect. Still the same.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr logger: how to enable timestamp</title><link>https://devzone.nordicsemi.com/thread/350184?ContentTypeID=1</link><pubDate>Fri, 28 Jan 2022 11:49:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e41e0565-a230-4a6e-a022-cacf2aac2674</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Could you try setting CONFIG_LOG_MODE_DEFERRED = y&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr logger: how to enable timestamp</title><link>https://devzone.nordicsemi.com/thread/349853?ContentTypeID=1</link><pubDate>Wed, 26 Jan 2022 23:48:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:331ab490-c5ba-45be-ba6b-5f60192556af</guid><dc:creator>bluebeam</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I try to do what you described here. But it doesn&amp;#39;t work.I keep getting the following warning message during build. I suspect there&amp;#39;s something wrong with the build. Particularly I can specify CONFIG_LOG_MINIMAL as the warning message says it can&amp;#39;t be set directly. Instead I used CONFIG_LOG_MODE_MINIMAL but it doesn&amp;#39;t seem working. The several logging related warning seems all have something to do with the CONFIG_LOG_MINIMAL.&lt;/p&gt;
&lt;p&gt;I also attached the prj.conf from my project if you could take a look.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;/////////////////////////////////////////////&lt;/p&gt;
&lt;p&gt;warning: LOG_BACKEND_FORMAT_TIMESTAMP (defined at subsys/logging\Kconfig.formatting:61) was assigned&lt;br /&gt;the value &amp;#39;y&amp;#39; but got the value &amp;#39;n&amp;#39;. Check these unsatisfied dependencies: (LOG_BACKEND_UART ||&lt;br /&gt;LOG_BACKEND_NATIVE_POSIX || LOG_BACKEND_RTT || LOG_BACKEND_SWO || LOG_BACKEND_XTENSA_SIM ||&lt;br /&gt;LOG_BACKEND_FS) (=n), (!LOG_MINIMAL) (=n). See&lt;br /&gt;&lt;a href="http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_LOG_BACKEND_FORMAT_TIMESTAMP.html"&gt;docs.zephyrproject.org/.../CONFIG_LOG_BACKEND_FORMAT_TIMESTAMP.html&lt;/a&gt;&lt;br /&gt;and/or look up LOG_BACKEND_FORMAT_TIMESTAMP in the menuconfig/guiconfig interface. The Application&lt;br /&gt;Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of&lt;br /&gt;the manual might be helpful too.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;warning: LOG_PROCESS_THREAD (defined at subsys/logging\Kconfig.processing:58) was assigned the value&lt;br /&gt;&amp;#39;y&amp;#39; but got the value &amp;#39;n&amp;#39;. Check these unsatisfied dependencies: (!LOG_MINIMAL) (=n), (!LOG_MINIMAL)&lt;br /&gt;(=n). See &lt;a href="http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_LOG_PROCESS_THREAD.html"&gt;docs.zephyrproject.org/.../CONFIG_LOG_PROCESS_THREAD.html&lt;/a&gt;&lt;br /&gt;and/or look up LOG_PROCESS_THREAD in the menuconfig/guiconfig interface. The Application Development&lt;br /&gt;Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual&lt;br /&gt;might be helpful too.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;warning: LOG_BUFFER_SIZE (defined at subsys/logging\Kconfig.processing:101) was assigned the value&lt;br /&gt;&amp;#39;8192&amp;#39; but got the value &amp;#39;&amp;#39;. Check these unsatisfied dependencies: (!LOG_MINIMAL) (=n),&lt;br /&gt;(!LOG_MINIMAL) (=n). See&lt;br /&gt;&lt;a href="http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_LOG_BUFFER_SIZE.html"&gt;docs.zephyrproject.org/.../CONFIG_LOG_BUFFER_SIZE.html&lt;/a&gt; and/or look up&lt;br /&gt;LOG_BUFFER_SIZE in the menuconfig/guiconfig interface. The Application Development Primer, Setting&lt;br /&gt;Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful&lt;br /&gt;too.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;warning: LOG_BACKEND_UART (defined at subsys/logging\Kconfig.backends:6) was assigned the value &amp;#39;y&amp;#39;&lt;br /&gt;but got the value &amp;#39;n&amp;#39;. Check these unsatisfied dependencies: (!LOG_MINIMAL) (=n). See&lt;br /&gt;&lt;a href="http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_LOG_BACKEND_UART.html"&gt;docs.zephyrproject.org/.../CONFIG_LOG_BACKEND_UART.html&lt;/a&gt; and/or look up&lt;br /&gt;LOG_BACKEND_UART in the menuconfig/guiconfig interface. The Application Development Primer, Setting&lt;br /&gt;Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful&lt;br /&gt;too.&lt;/p&gt;
&lt;p&gt;////////////////////////////////////////////////////////&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7776.prj.conf"&gt;devzone.nordicsemi.com/.../7776.prj.conf&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr logger: how to enable timestamp</title><link>https://devzone.nordicsemi.com/thread/349448?ContentTypeID=1</link><pubDate>Tue, 25 Jan 2022 08:42:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ffcadd1-0f7c-4a40-90c5-88f7d0cb8f33</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m really sorry for the wrong links. Thanks for letting me know. You could try using one of the CONFIG that you mentioned,&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_LOG_BACKEND_FORMAT_TIMESTAMP.html"&gt;&lt;span&gt;CONFIG_LOG_&lt;/span&gt;&lt;span&gt;BACKEND_FORMAT_TIMESTAMP&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Also, you can see that the following is the conditions for enabling the&amp;nbsp;&lt;a href="https://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_LOG_BACKEND_FORMAT_TIMESTAMP.html"&gt;CONFIG_LOG_BACKEND_FORMAT_TIMESTAMP&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;depends on&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;(&lt;/span&gt;LOG_BACKEND_UART&lt;span&gt; &lt;/span&gt;&lt;span&gt;||&lt;/span&gt;&lt;span&gt; &lt;/span&gt;LOG_BACKEND_NATIVE_POSIX&lt;span&gt; &lt;/span&gt;&lt;span&gt;||&lt;/span&gt;&lt;span&gt; &lt;/span&gt;LOG_BACKEND_RTT&lt;span&gt; &lt;/span&gt;&lt;span&gt;||&lt;/span&gt;&lt;span&gt; &lt;/span&gt;LOG_BACKEND_SWO&lt;span&gt; &lt;/span&gt;&lt;span&gt;||&lt;/span&gt;&lt;span&gt; &lt;/span&gt;LOG_BACKEND_XTENSA_SIM&lt;span&gt; &lt;/span&gt;&lt;span&gt;||&lt;/span&gt;&lt;span&gt; &lt;/span&gt;LOG_BACKEND_FS)&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;!&lt;/span&gt;LOG_FRONTEND&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;!&lt;/span&gt;LOG_MODE_MINIMAL&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;LOG&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It has direct dependencies on LOG_BACKEND_RTT. Hence, you should also set the &lt;a href="https://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_LOG_BACKEND_RTT.html"&gt;CONFIG_LOG_BACKEND_RTT&lt;/a&gt; = y&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Also, CONFIG_LOG_FRONTEND = n, &lt;a href="https://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_LOG_MODE_MINIMAL.html"&gt;CONFIG_LOG_MODE_MINIMAL&lt;/a&gt; = n&amp;nbsp; and CONFIG_LOG = y should be set.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/CONFIG_LOG_MINIMAL.html"&gt;LOG_MINIMAL&lt;/a&gt; is set according to the LOG_MODE_MINIMAL.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Any config that you wish to implement should be checked for any direct dependencies and those should also be enabled or disabled accordingly.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Priyanka&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr logger: how to enable timestamp</title><link>https://devzone.nordicsemi.com/thread/349380?ContentTypeID=1</link><pubDate>Mon, 24 Jan 2022 21:41:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:894face3-d4bc-43bc-93fe-615029d5b8f1</guid><dc:creator>bluebeam</dc:creator><description>&lt;p&gt;I don&amp;#39;t understand how this apply to my case. I&amp;#39;m using Zephyr with NCS 1.7.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr logger: how to enable timestamp</title><link>https://devzone.nordicsemi.com/thread/348105?ContentTypeID=1</link><pubDate>Mon, 17 Jan 2022 15:11:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0eeaa5f3-c77e-41c5-af55-8b323e063400</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You could refer to the following tickets:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/60672/a-problem-about-log-timestamp/246777#246777"&gt;Timestamp logging&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/78697/log-timestamp-issues-nrf52"&gt;Log Timestamp issues&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>