How to send all logs to a syslog server?

What is the recommended way to send all logs to a syslog server?
I checked the manual and syslog is only briefly mentioned.
On both syslogd and rsyslogd the following is written but I couldn’t find more information about it.
Or does this mean that you can find the logs in journalctl and only need rsyslog if you want to send it to a server?

Whether to enable syslogd. Note that systemd also logs syslog messages, so you normally don’t need to run syslogd.

https://search.nixos.org/options?channel=21.11&show=services.syslogd.enable&from=0&size=50&sort=relevance&type=packages&query=syslog

1 Like

Right. For a simple system you don’t need rsyslog because journald logs everything.

Sending to another server is a good example of when you could use rsyslog.

1 Like