<?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>rtt log in main file only</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29925/rtt-log-in-main-file-only</link><description>Hi,
I have a problem with NRF_LOG_INFO() macro - it only shows messages form main.c file but not from another .c files in project. Why this could happen?
I work in Eclipse with gcc and nRF52840</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 29 Jan 2018 12:35:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29925/rtt-log-in-main-file-only" /><item><title>RE: rtt log in main file only</title><link>https://devzone.nordicsemi.com/thread/119013?ContentTypeID=1</link><pubDate>Mon, 29 Jan 2018 12:35:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13751919-6e74-43bf-8ea5-dad374d445ba</guid><dc:creator>Kristopher</dc:creator><description>&lt;p&gt;I mean &lt;code&gt;NRF_LOG_INFO()&lt;/code&gt;, thanks for correction, .c files was added to Makefile and Eclipse project. Some of them was created by me, others was SDK libraries. I&amp;#39;ll check  &lt;code&gt;{MODULE_NAME}_CONFIG_LOG_ENABLED&lt;/code&gt; macros and let you know what happen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: rtt log in main file only</title><link>https://devzone.nordicsemi.com/thread/119012?ContentTypeID=1</link><pubDate>Mon, 29 Jan 2018 11:46:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b04e7919-f9cb-4bc6-8028-805072f7b561</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;There is no such macro &lt;code&gt;RTT_LOG_INFO()&lt;/code&gt; in the SDK. Is this something you have defined yourself, or did you mean &lt;code&gt;NRF_LOG_INFO()&lt;/code&gt;? Is the other .c files part of your application, or is is drivers/libraries from our SDK? Note that most of the modules have logging disabled by default. Logging can be enabled using the &lt;code&gt;{MODULE_NAME}_CONFIG_LOG_ENABLED&lt;/code&gt;, as shown in the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/group__nrf__log__config.html"&gt;Logger Configuration API documentation&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>