On Sun, 23 Jun 2019, at 00:22, Friedrich Strohmaier wrote:
> Anyone around who knows or did this already?

>From casually scimming the journalctl source code, unless I've overlooked 
>something, it seems like only  journalctl  handles the presentation of the 
>data in the specified OutputMode which is why there is no journald 
>configuration option, because it's irrelevant to journald.

Inside journalctl, OutputMode is only set from external input via the -o CLI 
option.

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

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 "$@"

Reply via email to