v01d commented on issue #3157: URL: https://github.com/apache/incubator-nuttx/issues/3157#issuecomment-805953748
I agree that some form of locking is required. What I understand from that discussion is that the buffer minimizes the time this lock is held (in contrast to holding the lock while output to serial is being done, which is quite slow). That said, I don't really know how to help on this either, as I have not looked the implementation of syslog and all its complexities. Also, I think that some outputs may require buffering but others not, as RAMLOG is already an output that already handles buffering itself. > Now that we have multiple syslog channels, we may want to have different settings for each channel (e.g. debug level for the serial and warning level for the file). That sounds interesting but I think we should focus on solving this before adding more features. In any case, I think that would be outside of the normal interface, since `setlogmask` for example would applies to all channels. -- 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