systemd icon indicating copy to clipboard operation
systemd copied to clipboard

journal: Add "format" output mode

Open DaanDeMeyer opened this issue 3 years ago • 2 comments

Draft since I still need to add specifiers for timestamps and documentation, etc. I'm slightly unsure on the best way to do specifiers for timestamps though, since there's many different ways to output the time. Should we reuse a bunch of the remaining specifier variables to each represent a different time output or do we need something more clever.

See commit messages for more details on the feature.

DaanDeMeyer avatar Jun 05 '22 20:06 DaanDeMeyer

If this is done it should probably be aligned closely to how we do things in the catalog entry formatting code. It's the very same problem after all, and we should share a single templating logic for that.

poettering avatar Aug 05 '22 13:08 poettering

looks like something that would make a lot of people happy. but as mentioned should relaly reuse the templating stuff of the catalog entry display.

poettering avatar Aug 05 '22 13:08 poettering

looks like something that would make a lot of people happy. but as mentioned should relaly reuse the templating stuff of the catalog entry display.

I'm not sure I follow here. What exactly is the templating stuff of the catalog entry display?

DaanDeMeyer avatar Aug 16 '22 09:08 DaanDeMeyer

CI is supposed to fail, I still need to implement the timestamp formatting functions

DaanDeMeyer avatar Aug 16 '22 11:08 DaanDeMeyer

Closing until I have time to work on this again

DaanDeMeyer avatar Apr 01 '23 12:04 DaanDeMeyer