[arch-general] journalctl - configure date output persistent to short-iso

Friedrich Strohmaier damokles4-listen at bits-fritz.de
Tue Jun 25 00:12:42 UTC 2019


Hi Jens, *,


Am 23.06.19 um 13:05 schrieb Jens John:
> On Sun, 23 Jun 2019, at 00:22, Friedrich Strohmaier wrote:
>> Anyone around who knows or did this already?

[..]

> Going by these facts, it seems like there is no way to  archieve what you
> want just with journalctl.

Thats definitly not what I wanted to read, but well..

> If that's correct,  there are 2 simple alternatives:

>   * alias journalctl='journalctl -o foo'
>   * Put a journalctl wrapper into a directory that is at the head of $PATH:

>       #!/bin/sh
>       exec /usr/sbin/journalctl -o foo "$@"

Thanks for Your investigation and suggestion.

That smells like a feature request at systemd guys, as I can't see any
advantage having the recent date output as default.
-- 
Friedrich


More information about the arch-general mailing list