[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#672361: Bug#934502: lsb-base: avoid '\r' in logging functions



On 2019-08-14 19:21:01 +0000, Dmitry Bogatov wrote:
> [2019-08-13 16:48] Thorsten Glaser <t.glaser@tarent.de>
> > > Please, change format to following:
> >
> > just run:
> >
> > 	sudo sh -c 'echo FANCYTTY=0 >>/etc/lsb-base-logging.sh'
> 
> 
> > (On the other hand, now that “most” people, and especially the target
> > group of “fancy” logging, is using systemd instead, perhaps it’s time
> > to remove the fancy code entirely and go back to the classical output
> > entirely?)
> 
> I support this proposal. Any objections, collegues?

I think that there are no big issues with colors (all terminals and
"less" can handle them) and they can be useful to see failures more
easily. Thus I think that they shoud be kept.

/lib/lsb/init-functions.d/20-left-info-blocks is what should be
dropped actually since it involves cursor movements and is not
much useful. Moreover, the output can be wrong when the program
outputs warnings or error messages.

Then bootlogd should not do any filtering.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


Reply to: