[ 
https://issues.apache.org/jira/browse/MYNEWT-444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15583591#comment-15583591
 ] 

Peter Snyder commented on MYNEWT-444:
-------------------------------------

Stated differently, the request is to allow log messages to be filtered on 
input based on a level set for each registered log, and allowing each module 
the ability to set this log level individually.

For example, nffs could set a log level LOG_LEVEL_WARN and LOG_DEBUG messages 
would not be captured at all. In addition, other registered logs could enable 
LOG_DEBUG messages and capture all messages.

> The log level should be configurable module by module. Log recording should 
> be according to the level
> -----------------------------------------------------------------------------------------------------
>
>                 Key: MYNEWT-444
>                 URL: https://issues.apache.org/jira/browse/MYNEWT-444
>             Project: Mynewt
>          Issue Type: Improvement
>            Reporter: Aditi Hilbert
>
> It would be useful to be able to set different log levels for different 
> packages e.g. ERROR for LOG_MODULE_OS and DEBUG for LOG_MODULE_NIMBLE_CTLR 
> Should be more efficient use of memory to log according to the level instead 
> of logging everything and only displaying according to the level.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to