<?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>Configure nrfx logs to output from separate files?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126797/configure-nrfx-logs-to-output-from-separate-files</link><description>I setup the nrfx logging per the sample and it works within my main.c but when I get a log warning from nrfx_timer.c I do not get an output. Is the logging configurable across files?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 Feb 2026 09:06:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126797/configure-nrfx-logs-to-output-from-separate-files" /><item><title>RE: Configure nrfx logs to output from separate files?</title><link>https://devzone.nordicsemi.com/thread/560089?ContentTypeID=1</link><pubDate>Mon, 02 Feb 2026 09:06:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58e58275-64c9-46e1-b370-1ad16d3ef010</guid><dc:creator>Samruddhi Jadhav</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, the logging is configurable across files. However, each logging system contains rules about where and how to enable it. In order to see warnings from nrfx_timer.c, ensure that nRFX_LOG_* macros are globally mapped to your&amp;nbsp;logger and the logger itself is enabled and contains log level including WARNING. All files including nrfx_timer.c must see this mapping. If not, the logs won&amp;#39;t print. So,&lt;/p&gt;
&lt;p&gt;1) nrfx has its own log macros and drivers such as nrfx_timer.c call NRFX_LOG_WARNING, NRFX_LOG_INFO which must be implemented by your project.&lt;/p&gt;
&lt;p&gt;2) NRFX_LOG_* must be connected to your logger once for the whole project.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;3) Ensure that the backend logger is enabled and at the right level.&lt;/p&gt;
&lt;p&gt;4) NRFX_LOG_* should be mapped correctly and must be visible to that file.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Samruddhi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>