Bug 915051

Summary: RFE: journalctl -t as a synonym for --since=today
Product: [Fedora] Fedora Reporter: Matthew Miller <mattdm>
Component: systemdAssignee: systemd-maint
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: low    
Version: rawhideCC: johannbg, lnykryn, metherid, msekleta, notting, plautrba, systemd-maint, vpavlin, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-09 11:17:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 784611    

Description Matthew Miller 2013-02-24 13:49:14 UTC
This is a low-priority RFE. My servers tend to have long uptimes, and when they reboot, I often want to know what happened just before that. So, I find myself typing

   journalctl --since today

quite often. It would be nice to have a shortcut, and -t isn't used. I know this is a slippery slope, but we already have -b, and this seems likely to be pretty common for more people than me.

Comment 1 Lennart Poettering 2013-03-08 02:48:45 UTC
Well, but the next guy then wants -w for --since=-7days, and another one wants -t to be --since=-24h and so on... I am not convinced we should give one of them a shortcut...

Comment 2 Matthew Miller 2013-03-08 14:09:45 UTC
I know it's got to end somewhere, but what are shortcuts for? :)

I've already got some aliases, so I don't think there's a real need to push very hard on this one; I just see "-b" being given a lot party because it's so short and handy, and I think often "--since=today" would actually be more helpful but isn't used because of the typing (particularly when recommending it to someone else).

Comment 3 Lennart Poettering 2013-04-09 11:17:18 UTC
OK, I am not convinced we want this. Sorry. Closing.