1

I redirect the logs of journald to syslog with the option ForwardToSyslog. Although I would like keeping my logs in journald and having them in syslog. Is it possible ?

1 Answer 1

1

ForwardToSyslog= is documented in man journald.conf. It doesn't redirect logs to syslog, it copies the files there.

Do you have some indication that your logs send to syslog aren't in the systemd journal?

2
  • Since I put the ForwardToSyslog= my systemd journal doesn't have new logs. The logs are only in syslog.
    – Flochon
    Apr 11, 2018 at 7:13
  • I found my mistake and it's nothing about systemd journal. It's only me who looked for the wrong element. Sorry about any inconveniences and thank you.
    – Flochon
    Apr 11, 2018 at 11:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.