Bug 59336 - RFE: journalctl --unit should allow use of wildcards for unit matching
Summary: RFE: journalctl --unit should allow use of wildcards for unit matching
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-14 03:59 UTC by Nuno Araujo (IRC: russo79)
Modified: 2014-01-11 15:10 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.