<?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>nrf9160 Log print timestamp</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115473/nrf9160-log-print-timestamp</link><description>Hi, 
 I use ncs v2.2.0. 
 prj.config 
 
 It not print timestamp. 
 
 I want like this: 
 
 How can I achieve it?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 18 Oct 2024 14:07:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115473/nrf9160-log-print-timestamp" /><item><title>RE: nrf9160 Log print timestamp</title><link>https://devzone.nordicsemi.com/thread/506965?ContentTypeID=1</link><pubDate>Fri, 18 Oct 2024 14:07:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f6899e8-864e-460c-a0cc-82e89e2f9d1f</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And what does the call stack state?&lt;/p&gt;
&lt;p&gt;The function you&amp;#39;re stuck in indicates that you&amp;#39;ve enabled uart, is that the case?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 Log print timestamp</title><link>https://devzone.nordicsemi.com/thread/506806?ContentTypeID=1</link><pubDate>Fri, 18 Oct 2024 03:40:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96ad8492-aa9e-4975-a13c-89f48267dd09</guid><dc:creator>john.liu</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;When I was debugging, it seemed to stop here.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1729222743813v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 Log print timestamp</title><link>https://devzone.nordicsemi.com/thread/506755?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2024 14:45:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dffd7f0d-d0f0-4888-a856-6c8b33d938ad</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try setting CONFIG_RESET_ON_FATAL_ERROR=n and enter debug mode to see where the fault/issue comes from?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 Log print timestamp</title><link>https://devzone.nordicsemi.com/thread/506615?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2024 06:53:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31131a51-78e6-4276-8303-ffeeac6d1f00</guid><dc:creator>john.liu</dc:creator><description>&lt;p&gt;Hi:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;I increased from 8192 to 10240 and it&amp;#39;s still the same.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_MAIN_STACK_SIZE=10240&lt;/pre&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 Log print timestamp</title><link>https://devzone.nordicsemi.com/thread/506314?ContentTypeID=1</link><pubDate>Tue, 15 Oct 2024 12:51:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76805f65-9e38-45fe-bcb0-3518d9206a9d</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could it be that there&amp;#39;s a problem with one of your stack sizes? Have you tried adjusting CONFIG_MAIN_STACK_SIZE to a higher value and see if the issue persists?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 Log print timestamp</title><link>https://devzone.nordicsemi.com/thread/506268?ContentTypeID=1</link><pubDate>Tue, 15 Oct 2024 10:34:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2549d2b-00f1-4928-820d-3fa55a66819e</guid><dc:creator>john.liu</dc:creator><description>&lt;p&gt;hi&lt;/p&gt;
&lt;p&gt;After adding it, it stopped running in one place, but after deleting it, it started running normally.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1728988446607v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 Log print timestamp</title><link>https://devzone.nordicsemi.com/thread/506100?ContentTypeID=1</link><pubDate>Mon, 14 Oct 2024 11:59:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78dad2b9-3f50-47e1-b53d-427baca32253</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try setting:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_LOG_MODE_DEFERRED=y
CONFIG_LOG_MODE_MINIMAL=n&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And see if this helps?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>