michallenc commented on PR #16280:
URL: https://github.com/apache/nuttx/pull/16280#issuecomment-2837611595

   @cederom  Thanks, I'll start the vote.
   
   > Also if current NuttX behavior of providing mask 0 disables logging, it 
would be nice to provide hint directly in the git commit message what would be 
new correct behavior to disable logging if someone needs to update their code 
:-)
   
   Well, it is probably not possible do disable the logging at all per POSIX 
standard. `LOG_EMERG` is the first bit of the mask, so you'll always have this 
one enabled. Or at least that's what we found with @Cynerd yesterday, maybe 
there is some other way.
   
   You can always set `CONFIG_SYSLOG_DEFAULT_MASK` to zero of course, but once 
enabled from an application, it seems `LOG_EMERG` will always have to be active.


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to