0

On a CentOS 7.3 server, I would like to watch the logs in real time for postfix. I can currently see some detail by issuing:

systemctl status postfix -l

However, this exits. I want a command I can run that will show me the journal entries as they appear and not exit until I want it to. Any ideas?

Jeff Schaller
  • 67,283
  • 35
  • 116
  • 255

1 Answers1

0
 sudo journalctl -fu postfix

See man journalctl for details.