You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2019/07/31 23:52:39 UTC

[GitHub] [mynewt-nimble] ccollins476ad opened a new pull request #547: Mynewt: Define logs in packages' syscfg files

ccollins476ad opened a new pull request #547: Mynewt: Define logs in packages' syscfg files
URL: https://github.com/apache/mynewt-nimble/pull/547
 
 
   This is a Mynewt-specific PR.
   
   Defining logs in syscfg files provides a few benefits:
   
   1. Ability to set log level per module at build time.  Setting a global log level of 0 (`LOG_LEVEL=0`) might produce an image that is too big.  Instead, we can enable debug logging only for the modules we are interested in.
   
   2. Easier to visualize system log configuration (see below).
   
   3. Log modules can be remapped at build time in case of conflicts.
   
   To see the system-wide log configuration, use either of these commands:
   
   ```
   newt target logcfg brief <target-name>
   newt target logcfg show <target-name>
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services