<div dir="ltr">Hi maintainers,<div><br></div><div>I am trying to get syslog forwarding working with a journal namespace I created for my application.</div><div><pre class="gmail-message" style="padding-top:8px;margin-top:0px;border-top:0px;white-space:pre-wrap;color:rgb(0,0,0)">My system is on Debian 11, systemd 247 (247.3-7+deb11u1)</pre><pre class="gmail-message" style="padding-top:8px;margin-top:0px;border-top:0px;white-space:pre-wrap;color:rgb(0,0,0)">Originally, my service used the default namespace and forwarding to syslog was working. After creating a journal namespace and assigning my service to it with
LogNamespace=my-namespace now the logs from my application do not get
forwarded to syslog.

I have made sure /etc/systemd/journald@my-namespace.conf exists and contains the
setting ForwardToSyslog=yes. I actually just copied the default config at
/etc/systemd/journal.conf which has forwarding enabled by default. I can see the
logs in the journal with journalctl --namespace my-namespace.</pre><pre class="gmail-message" style="padding-top:8px;margin-top:0px;border-top:0px;white-space:pre-wrap;color:rgb(0,0,0)">I haven't seen any bugs reported on this so I must be missing something.</pre><pre class="gmail-message" style="padding-top:8px;margin-top:0px;border-top:0px;white-space:pre-wrap;color:rgb(0,0,0)">Regards,</pre><pre class="gmail-message" style="padding-top:8px;margin-top:0px;border-top:0px;white-space:pre-wrap;color:rgb(0,0,0)">Aaron</pre></div></div>