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
  • 66,199
  • 35
  • 114
  • 250

1 Answers1

0
 sudo journalctl -fu postfix

See man journalctl for details.

Mark Stosberg
  • 7,420
  • 1
  • 32
  • 42