patacongo commented on issue #3157:
URL: 
https://github.com/apache/incubator-nuttx/issues/3157#issuecomment-812576691


   > Otherwise I think that using an internal line buffer is the only solution 
if these calls will always be made separately to build the message.
   
   Is this relevant?  It enables use of a IOB to parse syslog lines into, then 
dumps the buffered line all at once.
   ```
    77 config SYSLOG_BUFFER
    78         bool "Use buffered output"
    79         default n
    80         depends on SYSLOG_WRITE
    81         select MM_IOB
    82         ---help---
    83                 Enables an buffering logic that will be used to 
serialize debug
    84                 output from concurrent tasks. This enables allocation of 
one buffer
    85                 per thread, each of size CONFIG_IOB_BUFSIZE.
    86
    87                 The use of SYSLOG buffering is optional.  If not 
enabled, however,
    88                 then the output from multiple tasks that attempt to 
generate SYSLOG
    89                 output may be interleaved and difficult to read.
   ```
   
   


-- 
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:
us...@infra.apache.org


Reply via email to