Bug#767350: journald: does not respect carriage return

Josh Triplett josh at joshtriplett.org
Fri Oct 31 20:26:32 GMT 2014


On Thu, 30 Oct 2014 23:07:22 +0100 Andreas Cadhalpun <andreas.cadhalpun at googlemail.com> wrote:
> On 30.10.2014 22:42, Zbigniew Jędrzejewski-Szmek wrote:
> > Log file viewers don't show
> > logs in real time, so any usage of erase characters should be
> > replaced by simply logging the final version in the first place.
> 
> Systemd/journald just captures stdout, which is originally meant for a 
> console. So I think it should handle '\r' more gracefully, by simply 
> only including the final version in the log.
> 
> Or how do you think this should be solved?

Avoid emitting incremental progress messages when not outputting to a
terminal.  The journal should capture 100% of stdout/stderr, rather than
selectively filtering it.  When debugging, those messages may prove
necessary.

- Josh Triplett




More information about the Pkg-systemd-maintainers mailing list