Page 1 of 1

Postfix not logging to /var/log/

Posted: Mon 20. Mar 2023, 17:07
by BasHeijermans
Just a remark rather then a big issue.

There has been a change in the way logging etc happens, but because of that logging to /var/log often doesn't happen.

I have been searching for weeks to find out why it does that.

Turns out, all that is needed is edit /etc/systemd/journald.conf and alter this line from No to Yes:

Code: Select all

ForwardToSyslog=yes
then just a:

Code: Select all

systemctl restart systemd-journald
is needed and it starts logging again.

Could KeyHelp check for this line and alter it? As many of us are used to tail the logs for problems and I was stunned to see the logs to be empty.

Thank you!!