You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "Peter Snyder (JIRA)" <ji...@apache.org> on 2016/10/17 21:46:58 UTC
[jira] [Commented] (MYNEWT-444) The log level should be
configurable module by module. Log recording should be according to the
level
[ 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)