[riot-notifications] [RIOT-OS/RIOT] Add basic syslog implementation (#11362)

crest42 notifications at github.com
Thu Jul 4 16:37:37 CEST 2019


The implementation needs a little bit of rework. Obvious problems right now are:

- ~~Priority values in log.h and priority values in syslog.h are not the same by now. This could lead to Messages being accepted by LOG() but discarded by syslog(). Maybe i could change the implementation provided by log.h without losing backwards compatibility.~~
- The dispatch logic needs further rethinking. By now an auto_init function plainly overwrites the whole dispatcher array with facilities != 0. Also a linked list may be more feasible to allow more than a single module to attach onto a single facility value.
- The syslog implementation hooks itself to log_mqueue as soon as the log_mqueue module is used. This may should be more configurable.
- Configurability of queue sizes could be better.
- Missing Documentation. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11362#issuecomment-508504577
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190704/bd847080/attachment.html>


More information about the notifications mailing list