<?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>Thingy53 server doesn&amp;#39;t show LOGs</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/97598/thingy53-server-doesn-t-show-logs</link><description>Hi, 
 i&amp;#39;m trying to creating a project where my thingy53 is a coap_server thread node that sends environmental data to a coap_clinet (nRF5340). 
 The problem i found is that, even if i enable LOGs, none of them is shown on the nrf terminal, only works</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 Mar 2023 12:52:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/97598/thingy53-server-doesn-t-show-logs" /><item><title>RE: Thingy53 server doesn't show LOGs</title><link>https://devzone.nordicsemi.com/thread/415709?ContentTypeID=1</link><pubDate>Thu, 16 Mar 2023 12:52:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b021f8d-32bb-4ae7-8e7e-bc91b3546bc8</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Good to know you fix the issue.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy53 server doesn't show LOGs</title><link>https://devzone.nordicsemi.com/thread/415654?ContentTypeID=1</link><pubDate>Thu, 16 Mar 2023 10:28:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c343c8f-3d4c-458c-af95-82c635ce9fe8</guid><dc:creator>simon8</dc:creator><description>&lt;p&gt;even with that, nothing change...&lt;/p&gt;
&lt;p&gt;i tried to add these line of code, took by the file&amp;nbsp;thingy53_nrf5340_cpuapp.conf&amp;nbsp; in the boards folder of the peripheral_uart sample:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;# Config logger&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_LOG&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_USE_SEGGER_RTT&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_LOG_BACKEND_RTT&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_LOG_BACKEND_UART&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SHELL_LOG_BACKEND&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NET_LOG&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NET_CONFIG_LOG_LEVEL_INF&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;CONFIG_LOG_MODE_DEFERRED=y&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;CONFIG_LOG_PRINTK=y&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;CONFIG_LOG_PROCESS_THREAD_STACK_SIZE=1024&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;CONFIG_LOG_PROCESS_THREAD_STARTUP_DELAY_MS=4000&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;and logs looks better:&lt;/p&gt;
&lt;p&gt;&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/terminal_5F00_output_5F00_2023_2D00_03_2D00_16T10_2D00_27_2D00_28.205Z.txt"&gt;devzone.nordicsemi.com/.../terminal_5F00_output_5F00_2023_2D00_03_2D00_16T10_2D00_27_2D00_28.205Z.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy53 server doesn't show LOGs</title><link>https://devzone.nordicsemi.com/thread/415571?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2023 21:13:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e64c71b-3272-45da-9a52-ae1e7f3b5926</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Seems&amp;nbsp;CONFIG_LOG2_MODE_DEFERRED=y is deprecated in v2.1.2. Try&amp;nbsp;CONFIG_LOG_MODE_DEFERRED=y.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy53 server doesn't show LOGs</title><link>https://devzone.nordicsemi.com/thread/415297?ContentTypeID=1</link><pubDate>Tue, 14 Mar 2023 15:45:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64edc457-c14c-4688-86bc-3f997dcf9f8b</guid><dc:creator>simon8</dc:creator><description>&lt;div&gt;
&lt;div&gt;&lt;span&gt;i just added this but doesn&amp;#39;t work neither:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;# Config logger&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_LOG&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_USE_SEGGER_RTT&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_LOG_BACKEND_RTT&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_LOG_BACKEND_UART&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SHELL_LOG_BACKEND&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NET_LOG&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NET_CONFIG_LOG_LEVEL_INF&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;CONFIG_LOG2_MODE_DEFERRED=y&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;this is what termila prints:&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;span&gt; * Executing task: nRF Connect: Build: thingy_coap_rec_myserver/build (active) &lt;br /&gt;&lt;br /&gt;Building thingy_coap_rec_myserver&lt;br /&gt;west build --build-dir c:\progetti\nexter\VS\esempi\server-send__client-receive\thingy_coap_rec_myserver\build c:\progetti\nexter\VS\esempi\server-send__client-receive\thingy_coap_rec_myserver&lt;br /&gt;&lt;br /&gt;[0/1] Re-running CMake...&lt;br /&gt;Loading Zephyr default modules (Zephyr base (cached)).&lt;br /&gt;-- Application: C:/progetti/nexter/VS/esempi/server-send__client-receive/thingy_coap_rec_myserver&lt;br /&gt;-- Cache files will be written to: C:/ncs/v2.1.2/zephyr/.cache&lt;br /&gt;-- Zephyr version: 3.1.99 (C:/ncs/v2.1.2/zephyr)&lt;br /&gt;-- Found west (found suitable version &amp;quot;0.14.0&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)&lt;br /&gt;-- Board: thingy53_nrf5340_cpuapp&lt;br /&gt;-- Found host-tools: zephyr 0.14.1 (C:/ncs/toolchains/v2.1.2/opt/zephyr-sdk)&lt;br /&gt;-- Found dtc: C:/ncs/toolchains/v2.1.2/opt/bin/dtc.exe (found suitable version &amp;quot;1.4.7&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)&lt;br /&gt;-- Found toolchain: zephyr 0.14.1 (C:/ncs/toolchains/v2.1.2/opt/zephyr-sdk)&lt;br /&gt;-- Found BOARD.dts: C:/ncs/v2.1.2/zephyr/boards/arm/thingy53_nrf5340/thingy53_nrf5340_cpuapp.dts&lt;br /&gt;-- Found devicetree overlay: C:/progetti/nexter/VS/esempi/server-send__client-receive/thingy_coap_rec_myserver/app.overlay&lt;br /&gt;-- Generated zephyr.dts: C:/progetti/nexter/VS/esempi/server-send__client-receive/thingy_coap_rec_myserver/build/zephyr/zephyr.dts&lt;br /&gt;-- Generated devicetree_unfixed.h: C:/progetti/nexter/VS/esempi/server-send__client-receive/thingy_coap_rec_myserver/build/zephyr/include/generated/devicetree_unfixed.h&lt;br /&gt;-- Generated device_extern.h: C:/progetti/nexter/VS/esempi/server-send__client-receive/thingy_coap_rec_myserver/build/zephyr/include/generated/device_extern.h&lt;br /&gt;-- Including generated dts.cmake file: C:/progetti/nexter/VS/esempi/server-send__client-receive/thingy_coap_rec_myserver/build/zephyr/dts.cmake&lt;br /&gt;&lt;br /&gt;C:/progetti/nexter/VS/esempi/server-send__client-receive/thingy_coap_rec_myserver/prj.conf:64: warning: attempt to assign the value &amp;#39;y&amp;#39; to the undefined symbol LOG2_MODE_DEFERRED&lt;br /&gt;&lt;br /&gt;error: Aborting due to Kconfig warnings&lt;br /&gt;&lt;br /&gt;Parsing C:/ncs/v2.1.2/zephyr/Kconfig&lt;br /&gt;Loaded configuration &amp;#39;C:/ncs/v2.1.2/zephyr/boards/arm/thingy53_nrf5340/thingy53_nrf5340_cpuapp_defconfig&amp;#39;&lt;br /&gt;Merged configuration &amp;#39;C:/progetti/nexter/VS/esempi/server-send__client-receive/thingy_coap_rec_myserver/prj.conf&amp;#39;&lt;br /&gt;CMake Error at C:/ncs/v2.1.2/zephyr/cmake/modules/kconfig.cmake:293 (message):&lt;br /&gt; command failed with return code: 1&lt;br /&gt;Call Stack (most recent call first):&lt;br /&gt; C:/ncs/v2.1.2/zephyr/cmake/modules/zephyr_default.cmake:121 (include)&lt;br /&gt; C:/ncs/v2.1.2/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)&lt;br /&gt; C:/ncs/v2.1.2/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:97 (include_boilerplate)&lt;br /&gt; CMakeLists.txt:5 (find_package)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-- Configuring incomplete, errors occurred!&lt;br /&gt;See also &amp;quot;C:/progetti/nexter/VS/esempi/server-send__client-receive/thingy_coap_rec_myserver/build/CMakeFiles/CMakeOutput.log&amp;quot;.&lt;br /&gt;See also &amp;quot;C:/progetti/nexter/VS/esempi/server-send__client-receive/thingy_coap_rec_myserver/build/CMakeFiles/CMakeError.log&amp;quot;.&lt;br /&gt;ninja: error: rebuilding &amp;#39;build.ninja&amp;#39;: subcommand failed&lt;br /&gt;FAILED: build.ninja &lt;br /&gt;C:\ncs\toolchains\v2.1.2\opt\bin\cmake.exe --regenerate-during-build -SC:\progetti\nexter\VS\esempi\server-send__client-receive\thingy_coap_rec_myserver -BC:\progetti\nexter\VS\esempi\server-send__client-receive\thingy_coap_rec_myserver\build&lt;br /&gt;FATAL ERROR: command exited with status 1: &amp;#39;c:\ncs\toolchains\v2.1.2\opt\bin\cmake.EXE&amp;#39; --build &amp;#39;c:\progetti\nexter\VS\esempi\server-send__client-receive\thingy_coap_rec_myserver\build&amp;#39;&lt;br /&gt;&lt;br /&gt; * The terminal process terminated with exit code: 1. &lt;br /&gt; * Terminal will be reused by tasks, press any key to close it. &lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy53 server doesn't show LOGs</title><link>https://devzone.nordicsemi.com/thread/415286?ContentTypeID=1</link><pubDate>Tue, 14 Mar 2023 15:25:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98871650-7d84-4f54-a41b-0993be11e8ed</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;See &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/83675/log-only-shows-full-ring-buffer/348140"&gt;this answer&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy53 server doesn't show LOGs</title><link>https://devzone.nordicsemi.com/thread/415237?ContentTypeID=1</link><pubDate>Tue, 14 Mar 2023 13:52:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13534ea7-a56a-4f85-a0d9-a7d67ba2ed4f</guid><dc:creator>simon8</dc:creator><description>&lt;p&gt;I tryied that but nothing cahnged...&lt;/p&gt;
&lt;p&gt;so i tryied this:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;# Config logger&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_LOG&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_USE_SEGGER_RTT&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_LOG_BACKEND_RTT&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_LOG_BACKEND_UART&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SHELL_LOG_BACKEND&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NET_LOG&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NET_CONFIG_LOG_LEVEL_INF&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;and this is what it prints out:&amp;nbsp;&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;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/terminal_5F00_output_5F00_2023_2D00_03_2D00_14T13_2D00_50_2D00_35.769Z.txt"&gt;devzone.nordicsemi.com/.../terminal_5F00_output_5F00_2023_2D00_03_2D00_14T13_2D00_50_2D00_35.769Z.txt&lt;/a&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;i don&amp;#39;t know what is the Ring Buffer and how to drain it...&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Could you help me?&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;thanks a lot&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy53 server doesn't show LOGs</title><link>https://devzone.nordicsemi.com/thread/415023?ContentTypeID=1</link><pubDate>Mon, 13 Mar 2023 21:53:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b0e1647-0494-4e18-9bad-dce491758c8a</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you using NCSv2.1.0? If so, you can refer to&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.1.0/samples/openthread/coap_server/overlay-logging.conf"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v2.1.0/samples/openthread/coap_server/overlay-logging.conf&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.1.0/samples/openthread/coap_server/overlay-rtt.conf"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v2.1.0/samples/openthread/coap_server/overlay-rtt.conf&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Seems it&amp;#39;s missing &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.1.0/samples/openthread/coap_server/overlay-rtt.conf#L13"&gt;CONFIG_SHELL_LOG_BACKEND=n&lt;/a&gt;&lt;span&gt;.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>