Carlos E. R. wrote:
On 2016-03-03 18:40, Per Jessen wrote:
Carlos E. R. wrote:
I previously used grep on the log to show that the majority of entries came from mail and news system. And I used grep because I have not found the way to tell journalctl to print simply the entries for one of the "facilities", in this case, "mail".
cer@Telcontar:~> man journalctl | grep facility
On that page look for MATCHES, then look up:
man systemd.journal-fields
I did a moment ago. But it looked like it wanted the numeric value.
Try this:
journalctl -b 0 SYSLOG_FACILITY=mail
At this point, it produces nothing.
Well spotted, Carlos. I took my own medicine and choked - it looks like you have to use: journalctl -b 0 SYSLOG_FACILITY=2 -o short-iso to get /var/log/mail from today. Having to specify 2 instead of mail is a gigantic usability issue. One can only surmise that this isn't being used much. -- Per Jessen, Zürich (3.3°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org