Patrick Shanahan wrote:
* Per Jessen
[03-03-16 12:40]: 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
Try this:
journalctl -b 0 SYSLOG_FACILITY=mail
I still prefer "less /var/log/mail". Takes less time to type and less man page lookups :-)
It does and that is the *painful* part of change, but after becoming familiar with repeditive searches, the change becomes second nature toooo.
Agree completely, hence the smiley. The topic is really still the old one from 2012 - why did we (= the openSUSE project) get rid of having a syslog daemon as a default when it does in fact serve purposes that journalctl does not. It's not one I can be bothered to discuss - been there, done that, waste of time in the end. As one of my good friends like to say - in our anarc ... uh, do-ocracy, why don't I just go change that default back? -- Per Jessen, Zürich (3.2°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org