Re: Can we have process names and stdout / stderr indication to more efficiently parse build logs? (was: Re: [gentoo-dev] rfc: escape sequences in logs)

2013-09-04 Thread Kent Fredric
On 4 September 2013 08:11, Tom Wijsman tom...@gentoo.org wrote: And then I asked the questions that I'd like to see answered: Why do they not belong there? What do people have to do who want them? If anyone needs a poster child for the sort of escape sequence outputs that most definitely

Re: Can we have process names and stdout / stderr indication to more efficiently parse build logs? (was: Re: [gentoo-dev] rfc: escape sequences in logs)

2013-09-04 Thread Michał Górny
Dnia 2013-09-03, o godz. 18:57:12 Walter Dnes waltd...@waltdnes.org napisał(a): On Tue, Sep 03, 2013 at 10:15:39PM +0200, Tom Wijsman wrote That is not what this is about, this is about having escape sequences in build logs obtained from Bugzilla; because, they aid in skimming through

Re: Can we have process names and stdout / stderr indication to more efficiently parse build logs? (was: Re: [gentoo-dev] rfc: escape sequences in logs)

2013-09-04 Thread Tom Wijsman
On Wed, 4 Sep 2013 18:03:14 +1200 Kent Fredric kentfred...@gmail.com wrote: On 4 September 2013 08:11, Tom Wijsman tom...@gentoo.org wrote: And then I asked the questions that I'd like to see answered: Why do they not belong there? What do people have to do who want them? If

Re: Can we have process names and stdout / stderr indication to more efficiently parse build logs? (was: Re: [gentoo-dev] rfc: escape sequences in logs)

2013-09-04 Thread Tom Wijsman
On Wed, 4 Sep 2013 09:17:11 +0200 Michał Górny mgo...@gentoo.org wrote: Dnia 2013-09-03, o godz. 18:57:12 Walter Dnes waltd...@waltdnes.org napisał(a): On Tue, Sep 03, 2013 at 10:15:39PM +0200, Tom Wijsman wrote That is not what this is about, this is about having escape sequences

Re: Can we have process names and stdout / stderr indication to more efficiently parse build logs? (was: Re: [gentoo-dev] rfc: escape sequences in logs)

2013-09-04 Thread Michał Górny
Dnia 2013-09-04, o godz. 11:24:22 Tom Wijsman tom...@gentoo.org napisał(a): On Wed, 4 Sep 2013 09:17:11 +0200 Michał Górny mgo...@gentoo.org wrote: Dnia 2013-09-03, o godz. 18:57:12 Walter Dnes waltd...@waltdnes.org napisał(a): On Tue, Sep 03, 2013 at 10:15:39PM +0200, Tom Wijsman

Re: Can we have process names and stdout / stderr indication to more efficiently parse build logs? (was: Re: [gentoo-dev] rfc: escape sequences in logs)

2013-09-04 Thread Tom Wijsman
On Wed, 4 Sep 2013 11:59:37 +0200 Michał Górny mgo...@gentoo.org wrote: And how are you going to implement this? I doubt that fd/vt input has any sort of 'writing process id' indicator. Yeah, will require some inspection into how this works and what information we have available; if that

Re: Can we have process names and stdout / stderr indication to more efficiently parse build logs? (was: Re: [gentoo-dev] rfc: escape sequences in logs)

2013-09-04 Thread Kent Fredric
On 4 September 2013 21:59, Michał Górny mgo...@gentoo.org wrote: And how are you going to implement this? I doubt that fd/vt input has any sort of 'writing process id' indicator. In one terminal: cat -vET In another: pgrep -x cat # 199935 ls -la /proc/199935/fd/ dr-x-- 2 kent kent

Re: Can we have process names and stdout / stderr indication to more efficiently parse build logs? (was: Re: [gentoo-dev] rfc: escape sequences in logs)

2013-09-04 Thread Kent Fredric
On 4 September 2013 21:59, Michał Górny mgo...@gentoo.org wrote: And how are you going to implement this? I doubt that fd/vt input has any sort of 'writing process id' indicator. Though granted, my other post is not going to be useful on a line-by-line basis. The obvious easy approach is

Re: Can we have process names and stdout / stderr indication to more efficiently parse build logs? (was: Re: [gentoo-dev] rfc: escape sequences in logs)

2013-09-04 Thread Michał Górny
Dnia 2013-09-04, o godz. 23:45:44 Kent Fredric kentfred...@gmail.com napisał(a): On 4 September 2013 21:59, Michał Górny mgo...@gentoo.org wrote: And how are you going to implement this? I doubt that fd/vt input has any sort of 'writing process id' indicator. Though granted, my

Can we have process names and stdout / stderr indication to more efficiently parse build logs? (was: Re: [gentoo-dev] rfc: escape sequences in logs)

2013-09-03 Thread Ulrich Mueller
On Tue, 3 Sep 2013, Tom Wijsman wrote: On Mon, 2 Sep 2013 14:21:52 -0500 William Hubbs willi...@gentoo.org wrote: I can see why someone might want to use escape codes for color displays, etc. However, imo, escape codes do not belong in log files. They belong there so future display can

Re: Can we have process names and stdout / stderr indication to more efficiently parse build logs? (was: Re: [gentoo-dev] rfc: escape sequences in logs)

2013-09-03 Thread William Hubbs
On Tue, Sep 03, 2013 at 10:25:19AM +0200, Ulrich Mueller wrote: On Tue, 3 Sep 2013, Tom Wijsman wrote: On Mon, 2 Sep 2013 14:21:52 -0500 William Hubbs willi...@gentoo.org wrote: I can see why someone might want to use escape codes for color displays, etc. However, imo, escape codes

Re: Can we have process names and stdout / stderr indication to more efficiently parse build logs? (was: Re: [gentoo-dev] rfc: escape sequences in logs)

2013-09-03 Thread Walter Dnes
On Tue, Sep 03, 2013 at 10:25:19AM +0200, Ulrich Mueller wrote Escape sequences have been designed for communication with peripheral devices, not for markup or as a storage format. Also future colorful display generally won't be portabe because escape sequences depend on the setting of the

Re: Can we have process names and stdout / stderr indication to more efficiently parse build logs? (was: Re: [gentoo-dev] rfc: escape sequences in logs)

2013-09-03 Thread Tom Wijsman
On Tue, 3 Sep 2013 15:43:44 -0400 Walter Dnes waltd...@waltdnes.org wrote: Similar to... USE=foo bar emerge blah blah blah ...can the average user do something like... TERM=dumb emerge blah blah blah That sounds like a very rare occasion, from all the bugs I have dealt with I have

Re: Can we have process names and stdout / stderr indication to more efficiently parse build logs? (was: Re: [gentoo-dev] rfc: escape sequences in logs)

2013-09-03 Thread Walter Dnes
On Tue, Sep 03, 2013 at 10:15:39PM +0200, Tom Wijsman wrote That is not what this is about, this is about having escape sequences in build logs obtained from Bugzilla; because, they aid in skimming through logs (until we implement the feature I asked for in subject). The road to binary

Can we have process names and stdout / stderr indication to more efficiently parse build logs? (was: Re: [gentoo-dev] rfc: escape sequences in logs)

2013-09-02 Thread Tom Wijsman
On Mon, 2 Sep 2013 14:21:52 -0500 William Hubbs willi...@gentoo.org wrote: I can see why someone might want to use escape codes for color displays, etc. However, imo, escape codes do not belong in log files. They belong there so future display can remain colorful. Why do they not belong