I have a configuration /etc/systemd/[email protected] which contains the setting ForwardToSyslog=yes and a systemd service unit configured with LogNamespace=my-namespace.
The documentation after this is not clear to me how to get the journal logs from my-namespace forwarded to syslog.
I understand there are two ways of forwarding journal logs to syslog, through a UNIX domain socket or .journal file. For this case, let's say I want to setup a socket at /run/systemd/journal.my-namespace/syslog for journald to write logs to and rsyslogd to listen and forward to syslog. I have gone through the documentation but I still don't understand how I would configure this.