On Fri, 26 Jun 2015 14:51:29 +0200 Jorge Luis Zapata Muga <jorgeluis.zap...@gmail.com> said:
> On Fri, Jun 26, 2015 at 1:14 PM, Carsten Haitzler <ras...@rasterman.com> > wrote: > > > On Fri, 26 Jun 2015 12:01:34 +0200 Jorge Luis Zapata Muga > > <jorgeluis.zap...@gmail.com> said: > > > > > On Fri, Jun 26, 2015 at 11:50 AM, Tom Hacohen <t...@osg.samsung.com> > > wrote: > > > > > > > On 26/06/15 00:42, Carsten Haitzler wrote: > > > > > On Thu, 25 Jun 2015 18:01:36 +0100 Tom Hacohen <t...@osg.samsung.com> > > > > said: > > > > > > > > > >> On 22/06/15 15:42, Tom Hacohen wrote: > > > > >>> As I said in the commit message, why is the alternative logging > > > > >>> mechanism even there? Shouldn't it be removed and we just always > > rely > > > > on > > > > >>> eina log? > > > > >> > > > > >> No comments anyone? > > > > > > > > > > personally i find eina log output painful. mostly because its long. > > it > > > > goes > > > > > > > > > > from this long > > > > > > > > > > to a a line this long and full of other stuff including escapes and > > what > > > > not so > > > > > it eventually wraps around at least 2 lines in a standard 80 wide > > > > terminal > > > > > > > > > > the escapes literally come up horribly: > > > > > > > > > > ESC[31mERR<ESC[0meoESC[31m>ESC[0mlib/eo/eo.c:780ESC[0m in > > > > > lib/edje/edje_object.eo.c:420: unable to resolve regular api func > > > > > 'edje_obj_thaw' 0x7efc4ff8c7d0 in class 'Evas_Rectangle'. > > > > > > > > > > literally that is what i get when i less my .xsession-errors. > > > > > > > > > > > > > This is easy to fix. We should just make eina not print the escapes > > > > when the output is a file... Super simple. Also, we could have a > > special > > > > > > > > > > You can use the envvar EINA_LOG_ENV_COLOR_DISABLE if you dont want to > > print > > > colors. Please don't change eina's log behaviour for files. > > > > you are talking about a wm launched by a login manager from a .desktop > > file... > > what env var? > > > > > Sorry, didn't reply to the list ... > > You can always set your own envvars at > /etc/X11/Xsession.d/99-enlightenment, or on your own ~/.xsession. Don't > know how's your setup, but that will work. > > Still, if the issue for you is to read the colored log, use less -R. If you > just dont want colors, use the envvar. i know. but then i have to edit this on every machine i have and why should everyone have to do this when logs go to a TEXt FILE - not to setout. these files are opened by things like less, more, jed, emacs, vim etc. and then you just have trouble. tom asked why. this is a why. -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical & virtual servers, alerts via email & sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel