Bug 59336

Summary: RFE: journalctl --unit should allow use of wildcards for unit matching
Product: systemd Reporter: Nuno Araujo (IRC: russo79) <nuno.araujo>
Component: generalAssignee: systemd-bugs
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: enhancement    
Priority: medium CC: zorael
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Nuno Araujo (IRC: russo79) 2013-01-14 03:59:00 UTC
Currently if a service is started by a socket (e.g. sshd.socket), journald created a new "unit name" per connection (e.g. sshd@0.service, sshd@1.service...)

It is then impossible to use the --unit option to display all the logs of the sshd service.

journalctl --unit should allow the use of wildcards for displaying the log data for several units at once.

This would allow to do something like "journalctl --unit sshd*" to display all the logs about sshd
Comment 1 Zbigniew Jedrzejewski-Szmek 2014-01-11 15:10:50 UTC
Done in http://cgit.freedesktop.org/systemd/systemd/commit/?id=ea18a4b.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.