[CentOS] yum update (first in a long time) - /var/log/dovecot no longer used
John Hodrien
J.H.Hodrien at leeds.ac.uk
Thu May 5 14:19:47 UTC 2016
On Thu, 5 May 2016, Gary Stainburn wrote:
> Another change to my Centos 7.2 system since my 'yum update' yesterday is
> that /var/log/dovecot is no longer written to.
>
> If I do 'systemctl status dovecot' I can see log entries. How can I now do
> the equiv or 'tail -f <logfile>'
>
> Also, why has this changed, and where is it documented?
I'd take a stab at:
journalctl -fu dovecot
The full RHEL7 System Administrators Guide is well worth a read, but here's
the bit you're probably after.
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/s1-Using_the_Journal.html
Or maybe:
https://www.digitalocean.com/community/tutorials/how-to-use-journalctl-to-view-and-manipulate-systemd-logs
jh
More information about the CentOS
mailing list