fujitatomoya / rcl_logging_syslog

rcl_logging_syslog is alternative logging backend implementation that can be used for ROS 2 application via rcl_logging_interface.
https://github.com/fujitatomoya/rcl_logging_syslog
Apache License 2.0
64 stars 0 forks source link

How to run and bind syslog app running in the container to the host system #27

Closed fujitatomoya closed 1 month ago

fujitatomoya commented 1 month ago

This is not related to the implementation for rcl_logging_syslog, more like a question for the configuration.

Background

What needs to be done?

fujitatomoya commented 1 month ago

IMO, we can just bind /dev/log socket to the container.

https://github.com/bminor/glibc/blob/master/bits/syslog-path.h#L26

https://github.com/bminor/glibc/blob/master/misc/syslog.c#L326-L334