Bug#767350: journald: does not respect carriage return
Andreas Cadhalpun
andreas.cadhalpun at googlemail.com
Sat Nov 22 14:53:46 GMT 2014
Control: reassign -1 clamav-freshclam 0.98.5~rc1+dfsg-2
Control: retitle -1 freshclam: use progress messages only on ttys
Control: tags -1 pending
Hi Josh,
if you had CC'ed me, I would have seen your reply sooner.
On Fri, 31 Oct 2014 13:26:32 -0700 Josh Triplett <josh at joshtriplett.org>
wrote:
> On Thu, 30 Oct 2014 23:07:22 +0100 Andreas Cadhalpun <andreas.cadhalpun at googlemail.com> wrote:
> > 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.
OK. I just fixed it in freshclam by checking isatty(fileno(stdout))
before outputting the incremental messages.
Best regards,
Andreas
More information about the Pkg-systemd-maintainers
mailing list