chiark / gitweb /
journalctl: show systemd messages about unit for -u
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 13 Mar 2013 23:30:05 +0000 (19:30 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 13 Mar 2013 23:53:45 +0000 (19:53 -0400)
commit7199aa96ce19468d9ce4cb21a13e32a3792fde41
treece6fb434b2af0e46b3be95b3a1c2818e376c2bf1
parent886a64fe6903bc1ccde5c7af0eac6786918c8e49
journalctl: show systemd messages about unit for -u

journalctl -u unit is not very useful, because it doesn't show
systemd messages about starting, stopping, coredumps, etc,
like systemctl status unit does. Make it show the same
information using the same rules.

If somebody really want to see just messages from by the unit,
it is easy enough to use _SYSTEMD_UNIT=...
man/journalctl.xml
src/journal/journalctl.c